mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-14 20:59:28 -07:00
Remove patch to Cura.qml
This commit is contained in:
parent
e5f8fa9ae4
commit
4eadae9f6a
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue