UI: Get rid of redundant UI_BUT_IMMEDIATE button flag
This flag was used to activate the hotkey input buttons (e.g. for "Assign Shortcut") when opened in a popup. Since this was added, other more generalized ways of getting this same behavior were implemented. Had to tweak the hotkey button event handling a bit, but it seems to behave exactly as before now.
This commit is contained in:
@@ -202,7 +202,7 @@ enum {
|
||||
UI_BUT_INACTIVE = 1 << 18,
|
||||
UI_BUT_LAST_ACTIVE = 1 << 19,
|
||||
UI_BUT_UNDO = 1 << 20,
|
||||
UI_BUT_IMMEDIATE = 1 << 21,
|
||||
/* UNUSED = 1 << 21, */
|
||||
UI_BUT_NO_UTF8 = 1 << 22,
|
||||
|
||||
/** For popups, pressing return activates this button, overriding the highlighted button.
|
||||
|
||||
Reference in New Issue
Block a user