mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 07:52:50 +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:
parent
2d681279d4
commit
9ca580aac6
Notes:
sideshowbarker
2024-07-19 17:04:36 +09:00
Author: https://github.com/stendavid 🔰
Commit: 9ca580aac6
Pull-request: https://github.com/SerenityOS/serenity/pull/14658
Reviewed-by: https://github.com/MacDue ✅
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ void ProcessMemoryMapWidget::set_pid(pid_t pid)
|
||||||
void ProcessMemoryMapWidget::refresh()
|
void ProcessMemoryMapWidget::refresh()
|
||||||
{
|
{
|
||||||
if (m_pid != -1)
|
if (m_pid != -1)
|
||||||
m_json_model->invalidate();
|
m_json_model->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue