mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 14:02:00 +00:00
SystemMonitor: Try to keep focus in 'Stacks'
This commit is contained in:
parent
cd39eea7a9
commit
45632986a4
Notes:
sideshowbarker
2024-07-19 04:21:53 +09:00
Author: https://github.com/BenWiederhake
Commit: 45632986a4
Pull-request: https://github.com/SerenityOS/serenity/pull/2971
1 changed files with 4 additions and 1 deletions
|
@ -60,5 +60,8 @@ void ProcessStacksWidget::refresh()
|
|||
return;
|
||||
}
|
||||
|
||||
m_stacks_editor->set_text(file->read_all());
|
||||
auto new_text = file->read_all();
|
||||
if (m_stacks_editor->text() != new_text) {
|
||||
m_stacks_editor->set_text(new_text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue