HackStudio: Add a "document dirty" indicator to the EditorWrapper

This commit is contained in:
Itamar 2021-05-01 13:29:30 +03:00 committed by Andreas Kling
commit 672b14b70d
Notes: sideshowbarker 2024-07-18 18:46:09 +09:00
3 changed files with 32 additions and 2 deletions

View file

@ -552,7 +552,7 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_save_action()
if (active_file().is_empty())
return;
current_editor().write_to_file(active_file());
current_editor_wrapper().save();
if (m_git_widget->initialized())
m_git_widget->refresh();