diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-07-15 20:41:05 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-11 02:39:49 +0200 |
commit | 30d2e0c9a16a981c895c070e9f972d577fadc531 (patch) | |
tree | 55a3ac596adbc5d93deba2aee0177580c2730c83 /src/gui/windowmenu.h | |
parent | 3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51 (diff) | |
download | mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.gz mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.bz2 mana-30d2e0c9a16a981c895c070e9f972d577fadc531.tar.xz mana-30d2e0c9a16a981c895c070e9f972d577fadc531.zip |
The shortcuts are now refreshed when reassigning keys.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r-- | src/gui/windowmenu.h | 5 |
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(), |