Revert "UI: Disable hotkeys when a user is expected to type text"
This reverts commit f832d14220.
Reverting this until we do more investigation. Currently, any text
that can be typed in a dialog requires the dialog to re-enable hotkeys
on destruction, which is frustrating. There has to be a better way.
This commit is contained in:
parent
1df2789978
commit
da04907927
7 changed files with 0 additions and 24 deletions
|
|
@ -376,7 +376,6 @@ void SourceTreeItem::EnterEditMode()
|
|||
editor->installEventFilter(this);
|
||||
boxLayout->insertWidget(index, editor);
|
||||
setFocusProxy(editor);
|
||||
App()->DisableHotkeys();
|
||||
}
|
||||
|
||||
void SourceTreeItem::ExitEditMode(bool save)
|
||||
|
|
@ -416,7 +415,6 @@ void SourceTreeItem::ExitEditModeInternal(bool save)
|
|||
setFocusPolicy(Qt::NoFocus);
|
||||
boxLayout->insertWidget(index, label);
|
||||
label->setFocus();
|
||||
App()->UpdateHotkeyFocusSetting();
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* check for empty string */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue