mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
SystemMonitor: Try to keep focus in 'Stacks'
This commit is contained in:
committed by
Andreas Kling
parent
cd39eea7a9
commit
45632986a4
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user