diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-19 17:10:53 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-19 17:10:53 +0000 |
commit | 1d9b37e81b1c91986644d6e9580422e6f8b47e25 (patch) | |
tree | 2a906d13678654f461760df3cff49808a4d27b05 /src/gui/setup_keyboard.h | |
parent | 0c074ec10a70b20345bbc0169dad78fe17644e86 (diff) | |
download | mana-1d9b37e81b1c91986644d6e9580422e6f8b47e25.tar.gz mana-1d9b37e81b1c91986644d6e9580422e6f8b47e25.tar.bz2 mana-1d9b37e81b1c91986644d6e9580422e6f8b47e25.tar.xz mana-1d9b37e81b1c91986644d6e9580422e6f8b47e25.zip |
src/gui/setup_keyboard.cpp, src/gui/setup_keyboard.h: fixed bug - reverts unassigned key.
Diffstat (limited to 'src/gui/setup_keyboard.h')
-rw-r--r-- | src/gui/setup_keyboard.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/setup_keyboard.h b/src/gui/setup_keyboard.h index ccc2558f..b72e8746 100644 --- a/src/gui/setup_keyboard.h +++ b/src/gui/setup_keyboard.h @@ -66,12 +66,19 @@ class Setup_Keyboard : public SetupTab, public gcn::ActionListener */ void refreshKeys(); + /** + * If a key function is unresolved, then this reverts it. + */ + void keyUnresolved(); + private: class KeyListModel *mKeyListModel; gcn::ListBox *mKeyList; gcn::Button *mAssignKeyButton; gcn::Button *mMakeDefaultButton; + + bool mKeySetting; /**< flag to check if key being set. */ }; #endif |