From fcf6b45bf6d68ed38044ca8c6f2e038d34924639 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 27 Jul 2020 00:16:04 -0400 Subject: [PATCH] Disable timeline scrolling when a popup is open --- src/gui/Pages/Chat/Timeline/EventList.qml | 1 + src/gui/UI.qml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Pages/Chat/Timeline/EventList.qml b/src/gui/Pages/Chat/Timeline/EventList.qml index 231881f3..598d54c3 100644 --- a/src/gui/Pages/Chat/Timeline/EventList.qml +++ b/src/gui/Pages/Chat/Timeline/EventList.qml @@ -475,6 +475,7 @@ Rectangle { } anchors.fill: parent + enabled: ! window.anyPopup clip: true keyNavigationWraps: false leftMargin: theme.spacing diff --git a/src/gui/UI.qml b/src/gui/UI.qml index 060ac154..a391abb1 100644 --- a/src/gui/UI.qml +++ b/src/gui/UI.qml @@ -10,7 +10,6 @@ import "MainPane" Item { id: mainUI - enabled: ! window.anyPopup property bool accountsPresent: ModelStore.get("accounts").count > 0 || py.startupAnyAccountsSaved