From f910cdcdb7cf7a197d9fa9521d72a9c28dfd7add Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Tue, 22 Sep 2020 00:24:27 +0200 Subject: [PATCH] SystemMonitor: Fix assert when sorting by the "Page map" column --- Applications/SystemMonitor/ProcessMemoryMapWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp index 2ec8f063efe..7eef9185d35 100644 --- a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp +++ b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp @@ -107,7 +107,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget() return GUI::Variant(); }, [](auto&) { - return GUI::Variant(); + return GUI::Variant(0); }, [](const JsonObject& object) { auto pagemap = object.get("pagemap").as_string_or({});