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:
parent
1df2789978
commit
da04907927
7 changed files with 0 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue