diff options
-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 1afedb5..f3ad771 100644 --- a/src/LayerMenu.hh +++ b/src/LayerMenu.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: LayerMenu.hh,v 1.7 2003/12/10 23:08:03 fluxgen Exp $ | 23 | // $Id: LayerMenu.hh,v 1.8 2004/06/07 21:15:08 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef LAYERMENU_HH | 25 | #ifndef LAYERMENU_HH |
26 | #define LAYERMENU_HH | 26 | #define LAYERMENU_HH |
@@ -44,7 +44,7 @@ public: | |||
44 | LayerMenuItem(const char *label, ItemType *object, int layernum): | 44 | LayerMenuItem(const char *label, ItemType *object, int layernum): |
45 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} | 45 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} |
46 | 46 | ||
47 | bool isEnabled() const { return m_object->layerItem().getLayerNum() != m_layernum; } ; | 47 | bool isEnabled() const { return m_object->layerItem().getLayerNum() != m_layernum; } |
48 | void click(int button, int time) { | 48 | void click(int button, int time) { |
49 | m_object->moveToLayer(m_layernum); | 49 | m_object->moveToLayer(m_layernum); |
50 | FbTk::MenuItem::click(button, time); | 50 | FbTk::MenuItem::click(button, time); |