Mark unsaved project title with * (#5910)

* Mark unsaved project title with *
This commit is contained in:
Vovodroid 2024-06-29 17:13:57 +03:00 committed by GitHub
parent b47810435a
commit 5ff93fe103
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 3 deletions

View file

@ -1999,6 +1999,9 @@ void MainFrame::update_slice_print_status(SlicePrintEventType event, bool can_sl
m_slice_btn->Enable(enable_slice);
m_slice_enable = enable_slice;
m_print_enable = enable_print;
if (wxGetApp().mainframe)
wxGetApp().plater()->update_title_dirty_status();
}