1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00

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
parent 7f2e1991cc
commit 672b14b70d
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();