Disable Retroshare toolbar button if core is not ready

This commit is contained in:
Angela Mazzurco 2017-07-09 12:27:49 +02:00
parent 402a2562c5
commit b77629eed4

View File

@ -196,7 +196,10 @@ ApplicationWindow
width: imageLoader.height
fillMode: Image.PreserveAspectFit
imgUrl: "/icons/retroshare06.png"
onClicked:{ toolBar.openMainPage() }
onClicked:
{
if (coreReady) toolBar.openMainPage()
}
}
}