aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 827b1e3..2090008 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -99,6 +99,7 @@ public:
99 FbTk::MenuItem(label), 99 FbTk::MenuItem(label),
100 m_attrib(attrib) { 100 m_attrib(attrib) {
101 setToggleItem(true); 101 setToggleItem(true);
102 setCloseOnClick(false);
102 } 103 }
103 104
104 bool isSelected() const { 105 bool isSelected() const {
@@ -123,7 +124,7 @@ public:
123 return false; 124 return false;
124 } 125 }
125 126
126 void click(int button, int time) { 127 void click(int button, int time, unsigned int mods) {
127 // reconfigure only does stuff if the apps file has changed 128 // reconfigure only does stuff if the apps file has changed
128 Remember::instance().reconfigure(); 129 Remember::instance().reconfigure();
129 if (WindowCmd<void>::window() != 0) { 130 if (WindowCmd<void>::window() != 0) {
@@ -134,7 +135,7 @@ public:
134 } 135 }
135 } 136 }
136 Remember::instance().save(); 137 Remember::instance().save();
137 FbTk::MenuItem::click(button, time); 138 FbTk::MenuItem::click(button, time, mods);
138 } 139 }
139 140
140private: 141private: