UI: Allow resizing docks when hotkeys are disabled

Fixes #2194
This commit is contained in:
Matt Gajownik 2020-02-13 12:28:48 +11:00
parent 677ac95b80
commit a77c6aafde

View file

@ -93,7 +93,8 @@ QObject *CreateShortcutFilter()
{
return new OBSEventFilter([](QObject *obj, QEvent *event) {
auto mouse_event = [](QMouseEvent &event) {
if (!App()->HotkeysEnabledInFocus())
if (!App()->HotkeysEnabledInFocus() &&
event.button() != Qt::LeftButton)
return true;
obs_key_combination_t hotkey = {0, OBS_KEY_NONE};