mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-05 19:27:57 -05:00
Fix of #6212 - Cannot select "New Project" after deleting models in saved project, continuing overwrites old project
This commit is contained in:
1 parent
3e5e020651
commit
80b9a3c62b
2 files changed
+3
-2
No files matched your search
@@ -672,7 +672,7 @@ bool MainFrame::is_active_and_shown_tab(Tab* tab)
|
||||
|
||||
bool MainFrame::can_start_new_project() const
|
||||
{
|
||||
return (m_plater != nullptr) && !m_plater->model().objects.empty();
|
||||
return (m_plater != nullptr) && (!m_plater->get_project_filename(".3mf").IsEmpty() || !m_plater->model().objects.empty());
|
||||
}
|
||||
|
||||
bool MainFrame::can_save() const
|
||||
|
||||
Reference in new issue
Block a user