CURA-5035 No more crash without internet connection

Still needs a timer or something to show the fetch failed though.
This commit is contained in:
Ian Paschal 2018-05-02 14:30:31 +02:00
parent f7ca8cbf68
commit 4e62c58ee6
3 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,22 @@
// Copyright (c) 2018 Ultimaker B.V.
// Toolbox is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
Rectangle
{
id: page
width: parent.width
height: parent.height
color: "transparent"
Label
{
text: catalog.i18nc("@info", "Could not connect to the Cura Package database. Please check your connection.")
anchors
{
centerIn: parent
}
}
}