mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-01 10:02:11 -05: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:
@@ -297,13 +297,11 @@ void OBSBasicSourceSelect::on_buttonBox_accepted()
|
||||
obs_sceneitem_release(item);
|
||||
}
|
||||
|
||||
App()->UpdateHotkeyFocusSetting();
|
||||
done(DialogCode::Accepted);
|
||||
}
|
||||
|
||||
void OBSBasicSourceSelect::on_buttonBox_rejected()
|
||||
{
|
||||
App()->UpdateHotkeyFocusSetting();
|
||||
done(DialogCode::Rejected);
|
||||
}
|
||||
|
||||
@@ -378,8 +376,6 @@ OBSBasicSourceSelect::OBSBasicSourceSelect(OBSBasic *parent, const char *id_,
|
||||
} else {
|
||||
obs_enum_sources(EnumSources, this);
|
||||
}
|
||||
|
||||
App()->DisableHotkeys();
|
||||
}
|
||||
|
||||
void OBSBasicSourceSelect::SourcePaste(const char *name, bool visible, bool dup)
|
||||
|
||||
Reference in New Issue
Block a user