mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
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:
1 parent
1df2789978
commit
da04907927
7 files changed
-24
No files matched your search
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user