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

View File

@@ -67,7 +67,6 @@ OBSBasicInteraction::OBSBasicInteraction(QWidget *parent, OBSSource source_)
};
connect(ui->preview, &OBSQTDisplay::DisplayCreated, addDrawCallback);
App()->DisableHotkeys();
}
OBSBasicInteraction::~OBSBasicInteraction()
@@ -75,7 +74,6 @@ OBSBasicInteraction::~OBSBasicInteraction()
// since QT fakes a mouse movement while destructing a widget
// remove our event filter
ui->preview->removeEventFilter(eventFilter.get());
App()->UpdateHotkeyFocusSetting();
}
OBSEventFilter *OBSBasicInteraction::BuildEventFilter()