From b77629eed49817b2e95baec8b56c22a3a945c83c Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Sun, 9 Jul 2017 12:27:49 +0200 Subject: [PATCH] Disable Retroshare toolbar button if core is not ready --- retroshare-qml-app/src/main-app.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/retroshare-qml-app/src/main-app.qml b/retroshare-qml-app/src/main-app.qml index faf3a0076..889bf7ace 100644 --- a/retroshare-qml-app/src/main-app.qml +++ b/retroshare-qml-app/src/main-app.qml @@ -196,7 +196,10 @@ ApplicationWindow width: imageLoader.height fillMode: Image.PreserveAspectFit imgUrl: "/icons/retroshare06.png" - onClicked:{ toolBar.openMainPage() } + onClicked: + { + if (coreReady) toolBar.openMainPage() + } } }