mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
On Save-as, open FileDialog in same directory of previous filename
This commit is contained in:
@@ -700,8 +700,12 @@ bool UserInterface::TryClose()
|
||||
|
||||
void UserInterface::selectSaveFilename()
|
||||
{
|
||||
if (sessionsavedialog)
|
||||
if (sessionsavedialog) {
|
||||
if (!Mixer::manager().session()->filename().empty())
|
||||
sessionsavedialog->setFolder( Mixer::manager().session()->filename() );
|
||||
|
||||
sessionsavedialog->open();
|
||||
}
|
||||
|
||||
navigator.hidePannel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user