mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
HackStudio: Add a "document dirty" indicator to the EditorWrapper
This commit is contained in:
parent
7f2e1991cc
commit
672b14b70d
Notes:
sideshowbarker
2024-07-18 18:46:09 +09:00
Author: https://github.com/itamar8910
Commit: 672b14b70d
Pull-request: https://github.com/SerenityOS/serenity/pull/6779
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/awesomekling
3 changed files with 32 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue