mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
bugfix save as
This commit is contained in:
@@ -115,7 +115,7 @@ std::string DialogToolkit::saveSessionFileDialog(const std::string &path)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::string extension = filename.substr(filename.find_last_of(".") + 1);
|
std::string extension = filename.substr(filename.find_last_of(".") + 1);
|
||||||
if (extension != "mix")
|
if (!filename.empty() && extension != "mix")
|
||||||
filename += ".mix";
|
filename += ".mix";
|
||||||
|
|
||||||
return filename;
|
return filename;
|
||||||
|
|||||||
Reference in New Issue
Block a user