Remove patch to Cura.qml

This commit is contained in:
fieldOfView 2018-02-17 10:13:24 +01:00
parent e5f8fa9ae4
commit 4eadae9f6a
2 changed files with 5 additions and 1 deletions

View file

@ -49,6 +49,10 @@ class BlackBeltPlugin(Extension):
self._application.engineCreatedSignal.connect(self._engineCreated)
def _engineCreated(self):
# set window title
self._application._engine.rootObjects()[0].setTitle(i18n_catalog.i18nc("@title:window","BlackBelt Cura"))
# substitute our own sidebar
sidebar_component_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "sidebar", "Sidebar.qml")
prepare_stage = Application.getInstance().getController().getStage("PrepareStage")
prepare_stage.addDisplayComponent("sidebar", sidebar_component_path)

View file

@ -16,7 +16,7 @@ UM.MainWindow
{
id: base
//: Cura application window title
title: catalog.i18nc("@title:window","BlackBelt Cura");
title: catalog.i18nc("@title:window","Ultimaker Cura");
viewportRect: Qt.rect(0, 0, (base.width - sidebar.width) / base.width, 1.0)
property bool showPrintMonitor: false