Move active view panel to previewStage

CURA-5829
This commit is contained in:
Jaime van Kessel 2018-10-29 13:39:00 +01:00
parent 9cc7a7ca23
commit ebe533bdc8
2 changed files with 15 additions and 16 deletions

View file

@ -230,22 +230,6 @@ UM.MainWindow
}
}
Loader
{
id: viewPanel
anchors.bottom: viewModeButton.top
anchors.topMargin: UM.Theme.getSize("default_margin").height
anchors.right: viewModeButton.right
property var buttonTarget: Qt.point(viewModeButton.x + Math.round(viewModeButton.width / 2), viewModeButton.y + Math.round(viewModeButton.height / 2))
height: childrenRect.height
width: childrenRect.width
source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : ""
}
Cura.ActionPanelWidget
{
anchors.right: parent.right