diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-27 02:53:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-27 02:53:46 +0300 |
commit | 64815b311e47395638a2bf5ea80f949526942570 (patch) | |
tree | 11d17054a6fbd8a779321d3bb0f1298144af248f /src/actions | |
parent | 80bbbc4c18273e0d1116d7e924d1df068a5d63d5 (diff) | |
download | mv-64815b311e47395638a2bf5ea80f949526942570.tar.gz mv-64815b311e47395638a2bf5ea80f949526942570.tar.bz2 mv-64815b311e47395638a2bf5ea80f949526942570.tar.xz mv-64815b311e47395638a2bf5ea80f949526942570.zip |
Show counted memory usage sum in chat.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 5 |
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; } |