From f54aaea97dd0161074e84fe7194665e19cd8bdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 22 Aug 2013 04:51:35 +0200 Subject: [PATCH] fix TypeError on dialog exit --- .../desktop/contents/configuration/AppletConfiguration.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmlpackages/desktop/contents/configuration/AppletConfiguration.qml b/qmlpackages/desktop/contents/configuration/AppletConfiguration.qml index eddd23761..232f14776 100644 --- a/qmlpackages/desktop/contents/configuration/AppletConfiguration.qml +++ b/qmlpackages/desktop/contents/configuration/AppletConfiguration.qml @@ -176,7 +176,7 @@ Rectangle { left: parent.left right: parent.right } - height: Math.max(pageScroll.height, currentItem.implicitHeight) + height: Math.max(pageScroll.height, currentItem != null ? currentItem.implicitHeight : 0) property string sourceFile Timer { id: pageSizeSync