mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08: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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user