summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-15 20:41:05 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-09-28 18:36:10 +0200
commit12b2d53cb78db985da9d92230841be6570a7cfdc (patch)
tree268eb044762e8a320fb45a4c4df1993f3be1bb4f /src/gui/windowmenu.h
parent1012c6edeffc4a220c7151a7a1a55f12abf2fa9c (diff)
downloadmana-12b2d53cb78db985da9d92230841be6570a7cfdc.tar.gz
mana-12b2d53cb78db985da9d92230841be6570a7cfdc.tar.bz2
mana-12b2d53cb78db985da9d92230841be6570a7cfdc.tar.xz
mana-12b2d53cb78db985da9d92230841be6570a7cfdc.zip
The shortcuts are now refreshed when reassigning keys.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 09374943..962abaf5 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -49,6 +49,11 @@ class WindowMenu : public Container,
void valueChanged(const gcn::SelectionEvent &event);
+ /**
+ * Update the pop-up captions with new key shortcuts.
+ */
+ void updatePopUpCaptions();
+
private:
inline void addButton(const std::string& text, int &x, int &h,
const std::string& iconPath = std::string(),