mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 20:17:34 +00:00
SystemMonitor: Try to keep focus in 'Stacks'
This commit is contained in:
parent
cd39eea7a9
commit
45632986a4
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