diff --git a/src/QmlControls/DropPanel.qml b/src/QmlControls/DropPanel.qml index c9f3d7144eb99daeebec6ffb57ab8b4e8cdf28c3..e904d075d26bca2109b3f4ae38a0690e139fc14c 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 + } } }