mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
HexEditor: Only mark window as modified when document is actually dirty
This commit is contained in:
parent
e44ccddba3
commit
24f729d0ef
Notes:
sideshowbarker
2024-07-17 04:55:19 +09:00
Author: https://github.com/nbvdkamp 🔰
Commit: 24f729d0ef
Pull-request: https://github.com/SerenityOS/serenity/pull/15160
Reviewed-by: https://github.com/linusg
5 changed files with 37 additions and 10 deletions
|
@ -518,7 +518,7 @@ void HexEditor::update_status()
|
|||
void HexEditor::did_change()
|
||||
{
|
||||
if (on_change)
|
||||
on_change();
|
||||
on_change(m_document->is_dirty());
|
||||
}
|
||||
|
||||
void HexEditor::paint_event(GUI::PaintEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue