summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 1e7a9ad5b..9f7e5287a 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1786,7 +1786,10 @@ impHandler(seen)
impHandler0(dumpMemoryUsage)
{
- memoryManager.printAllMemory();
+ if (event.tab)
+ memoryManager.printAllMemory(event.tab);
+ else
+ memoryManager.printAllMemory(localChatTab);
return true;
}