aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-09-22 05:32:02 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-09-22 05:32:02 (GMT)
commit3f33657fb721645292f798480e9e0b46d64aedf8 (patch)
tree71f3e5d97e984bbdf69ae6c3a3cf9fc72d060a69 /src/FbTk/Menu.hh
parented53f3c623e7c3ae35672b33ae3b52759dc1a6ed (diff)
downloadfluxbox_pavel-3f33657fb721645292f798480e9e0b46d64aedf8.zip
fluxbox_pavel-3f33657fb721645292f798480e9e0b46d64aedf8.tar.bz2
fix active menu item when inserting or removing other items
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r--src/FbTk/Menu.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index ee57a23..519a78b 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -109,7 +109,7 @@ public:
109 void setLabel(const FbString &labelstr); 109 void setLabel(const FbString &labelstr);
110 /// move menu to x,y 110 /// move menu to x,y
111 virtual void move(int x, int y); 111 virtual void move(int x, int y);
112 virtual void updateMenu(int active_index = -1); 112 virtual void updateMenu();
113 void setItemSelected(unsigned int index, bool val); 113 void setItemSelected(unsigned int index, bool val);
114 void setItemEnabled(unsigned int index, bool val); 114 void setItemEnabled(unsigned int index, bool val);
115 void setMinimumSublevels(int m) { menu.minsub = m; } 115 void setMinimumSublevels(int m) { menu.minsub = m; }