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:
jp9000 committed 2021-10-03 07:52:44 -07:00
1 parent 1df2789978
commit da04907927
7 files changed
-24

No files matched your search

-2
View File
@@ -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 */