diff options
Diffstat (limited to 'src/LayerMenu.hh')
-rw-r--r-- | src/LayerMenu.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LayerMenu.hh b/src/LayerMenu.hh index 4f4a0a9..7882fd7 100644 --- a/src/LayerMenu.hh +++ b/src/LayerMenu.hh | |||
@@ -50,9 +50,9 @@ public: | |||
50 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} | 50 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} |
51 | 51 | ||
52 | bool isEnabled() const { return m_object->layerNumber() != m_layernum; } | 52 | bool isEnabled() const { return m_object->layerNumber() != m_layernum; } |
53 | void click(int button, int time) { | 53 | void click(int button, int time, unsigned int mods) { |
54 | m_object->moveToLayer(m_layernum); | 54 | m_object->moveToLayer(m_layernum); |
55 | FbTk::MenuItem::click(button, time); | 55 | FbTk::MenuItem::click(button, time, mods); |
56 | } | 56 | } |
57 | 57 | ||
58 | private: | 58 | private: |