1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:27:35 +00:00

SystemMonitor: Try to keep focus in 'Stacks'

This commit is contained in:
Ben Wiederhake 2020-08-02 16:56:33 +02:00 committed by Andreas Kling
parent cd39eea7a9
commit 45632986a4

View file

@ -60,5 +60,8 @@ void ProcessStacksWidget::refresh()
return; 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);
}
} }