mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
SystemMonitor: Keep selected row in ProcessMemoryMapWidget
The process memory view loses the selected row when it's redrawn. Call update() instead of invalidate() to fix this.
This commit is contained in:
@@ -123,7 +123,7 @@ void ProcessMemoryMapWidget::set_pid(pid_t pid)
|
||||
void ProcessMemoryMapWidget::refresh()
|
||||
{
|
||||
if (m_pid != -1)
|
||||
m_json_model->invalidate();
|
||||
m_json_model->update();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user