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
2021-10-03 07:52:44 -07:00
parent 1df2789978
commit da04907927
7 changed files with 0 additions and 24 deletions
-2
View File
@@ -936,7 +936,6 @@ void OBSBasicFilters::EditItem(QListWidgetItem *item, bool async)
list->editItem(item);
item->setFlags(flags);
editActive = true;
App()->DisableHotkeys();
}
void OBSBasicFilters::DuplicateItem(QListWidgetItem *item)
@@ -1108,7 +1107,6 @@ void OBSBasicFilters::FilterNameEdited(QWidget *editor, QListWidget *list)
listItem->setText(QString());
SetupVisibilityItem(list, listItem, filter);
editActive = false;
App()->UpdateHotkeyFocusSetting();
}
void OBSBasicFilters::AsyncFilterNameEdited(