diff options
author | Bartek Skorupa <bartekskorupa@bartekskorupa.com> | 2014-11-19 12:59:09 +0300 |
---|---|---|
committer | Bartek Skorupa <bartekskorupa@bartekskorupa.com> | 2014-11-19 12:59:09 +0300 |
commit | 2918937972c4b87bff41b8e0b7cdd7c9c0076ef7 (patch) | |
tree | e1fd288248b79d98b10b594d829199d21b536585 /node_efficiency_tools.py | |
parent | 3599066a4b9eb27b34a22069ee36ab0be39c2572 (diff) |
Fix in Show Hotkey List
Last change in keycap item broke ability to show hotkey list in Add On
preferences. Now it's fixed.
Diffstat (limited to 'node_efficiency_tools.py')
-rw-r--r-- | node_efficiency_tools.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node_efficiency_tools.py b/node_efficiency_tools.py index f36046f0..c4214ddf 100644 --- a/node_efficiency_tools.py +++ b/node_efficiency_tools.py @@ -1058,18 +1058,18 @@ class NWNodeWrangler(bpy.types.AddonPreferences): col.prop(self, "hotkey_list_filter", icon="VIEWZOOM") col.separator() for hotkey in kmi_defs: - if hotkey[6]: - hotkey_name = hotkey[6] + if hotkey[7]: + hotkey_name = hotkey[7] if self.hotkey_list_filter.lower() in hotkey_name.lower(): row = col.row(align=True) row.label(hotkey_name) keystr = nice_hotkey_name(hotkey[1]) - if hotkey[3]: - keystr = "Shift " + keystr if hotkey[4]: + keystr = "Shift " + keystr + if hotkey[5]: keystr = "Alt " + keystr - if hotkey[2]: + if hotkey[3]: keystr = "Ctrl " + keystr row.label(keystr) |