summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-10-03 11:41:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-10-03 11:41:50 +0300
commitcf53f932e95b95ad2f52bedfa86d635245bbd4de (patch)
tree9435bdc46d654acb5ae0888232bf5e9a81a2aff1 /plugins/TabSRMM/src
parent180860727fd48e5ef820dbb1201cb5fee9a47703 (diff)
fixes #2088 (Alt button doesn't close menu bar automatically in tabSRMM)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/controls.cpp3
-rw-r--r--plugins/TabSRMM/src/msgs.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp
index 0bbdee61d3..5032563872 100644
--- a/plugins/TabSRMM/src/controls.cpp
+++ b/plugins/TabSRMM/src/controls.cpp
@@ -431,9 +431,6 @@ void CMenuBar::cancel()
void CMenuBar::Cancel(void)
{
- if (m_activeMenu == nullptr)
- return;
-
cancel();
m_fTracking = false;
autoShow(0);
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h
index a5663202cc..818ec6606b 100644
--- a/plugins/TabSRMM/src/msgs.h
+++ b/plugins/TabSRMM/src/msgs.h
@@ -1100,7 +1100,6 @@ struct SKINDESC
struct CMPlugin : public PLUGIN<CMPlugin>
{
HANDLE hLogger;
- void InitLogger();
CMPlugin();