don't use shared ptr on projects
Really unnecessary
This commit is contained in:
@@ -282,7 +282,7 @@ void MainMenu::ToolItemTriggered()
|
||||
|
||||
void MainMenu::FileMenuAboutToShow()
|
||||
{
|
||||
Project* active_project = Core::instance()->GetActiveProject().get();
|
||||
Project* active_project = Core::instance()->GetActiveProject();
|
||||
|
||||
file_project_properties_item_->setEnabled(active_project);
|
||||
file_save_item_->setEnabled(active_project);
|
||||
|
||||
Reference in New Issue
Block a user