mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:47:45 +00:00
PixelPaint: Use GUI::MessageBox::ask_about_unsaved_changes()
To make the last-saved-at timestamp show up correctly, we also now mark the editor's undo stack as unmodified on save.
This commit is contained in:
parent
82b071943d
commit
490d385d01
2 changed files with 8 additions and 2 deletions
|
@ -43,6 +43,8 @@ public:
|
|||
bool undo();
|
||||
bool redo();
|
||||
|
||||
auto& undo_stack() { return *m_undo_stack; }
|
||||
|
||||
void add_guide(NonnullRefPtr<Guide> guide) { m_guides.append(guide); }
|
||||
void remove_guide(Guide const& guide)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue