From 826948981e295b56a7a118e763eaa1fb1cb24c95 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Thu, 26 Dec 2019 11:06:23 -0800 Subject: [PATCH] Fix reference to null --- src/QmlControls/DropPanel.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/QmlControls/DropPanel.qml b/src/QmlControls/DropPanel.qml index c9f3d7144..e904d075d 100644 --- a/src/QmlControls/DropPanel.qml +++ b/src/QmlControls/DropPanel.qml @@ -63,7 +63,9 @@ Item { if (visible) { visible = false _dropDownComponent = undefined - toolStrip.lastClickedButton.checked = false + if (toolStrip.lastClickedButton) { + toolStrip.lastClickedButton.checked = false + } } } -- 2.22.0