mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Fix for showing printer connect button on component load, use newer CuraApplication as target
This commit is contained in:
parent
baea9eb1e0
commit
2986a17c1d
5 changed files with 39 additions and 26 deletions
|
@ -24,7 +24,7 @@ UM.MainWindow
|
|||
// It should be phased out in newer plugin versions.
|
||||
Connections
|
||||
{
|
||||
target: Printer
|
||||
target: CuraApplication
|
||||
onShowPrintMonitor: {
|
||||
if (show) {
|
||||
UM.Controller.setActiveStage("MonitorStage")
|
||||
|
@ -377,7 +377,6 @@ UM.MainWindow
|
|||
}
|
||||
|
||||
width: UM.Theme.getSize("sidebar").width
|
||||
z: 1
|
||||
|
||||
source: UM.Controller.activeStage.sidebarComponent
|
||||
}
|
||||
|
@ -819,7 +818,7 @@ UM.MainWindow
|
|||
|
||||
Connections
|
||||
{
|
||||
target: Printer
|
||||
target: CuraApplication
|
||||
onShowMessageBox:
|
||||
{
|
||||
messageDialog.title = title
|
||||
|
@ -865,7 +864,7 @@ UM.MainWindow
|
|||
|
||||
Connections
|
||||
{
|
||||
target: Printer
|
||||
target: CuraApplication
|
||||
onRequestAddPrinter:
|
||||
{
|
||||
addMachineDialog.visible = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue