core: implemented yes/no to all when closing multiple modified projects

This commit is contained in:
itsmattkc
2020-04-19 03:29:39 +10:00
parent d232e035f5
commit 63c194896d
9 changed files with 157 additions and 57 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ void MainMenu::TimecodeDisplayTriggered()
void MainMenu::FileMenuAboutToShow()
{
Project* active_project = Core::instance()->GetActiveProject();
Project* active_project = Core::instance()->GetActiveProject().get();
file_project_properties_item_->setEnabled(active_project);
file_save_item_->setEnabled(active_project);