mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 23:05:01 -06:00
Revert "Show extruder tabs only in custom mode. CURA-2763"
This reverts commit f916c9b4cf
.
This commit is contained in:
parent
f916c9b4cf
commit
67f1afb9ce
2 changed files with 3 additions and 4 deletions
|
@ -149,7 +149,6 @@ Rectangle
|
|||
SidebarHeader {
|
||||
id: header
|
||||
width: parent.width
|
||||
property bool showExtruderTabs: modesListModel.get(base.currentModeIndex).showExtruderTabs
|
||||
|
||||
anchors.top: sidebarHeaderBar.bottom
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
|
@ -409,8 +408,8 @@ Rectangle
|
|||
|
||||
Component.onCompleted:
|
||||
{
|
||||
modesListModel.append({ text: catalog.i18nc("@title:tab", "Recommended"), item: sidebarSimple, showFilterButton: false, showExtruderTabs: false })
|
||||
modesListModel.append({ text: catalog.i18nc("@title:tab", "Custom"), item: sidebarAdvanced, showFilterButton: true, showExtruderTabs: true })
|
||||
modesListModel.append({ text: catalog.i18nc("@title:tab", "Recommended"), item: sidebarSimple, showFilterButton: false })
|
||||
modesListModel.append({ text: catalog.i18nc("@title:tab", "Custom"), item: sidebarAdvanced, showFilterButton: true })
|
||||
sidebarContents.push({ "item": modesListModel.get(base.currentModeIndex).item, "immediate": true });
|
||||
|
||||
var index = parseInt(UM.Preferences.getValue("cura/active_mode"))
|
||||
|
|
|
@ -65,7 +65,7 @@ Column
|
|||
{
|
||||
id: extruderSelectionRow
|
||||
height: UM.Theme.getSize("sidebar_tabs").height
|
||||
visible: showExtruderTabs && machineExtruderCount.properties.value > 1 && !sidebar.monitoringPrint
|
||||
visible: machineExtruderCount.properties.value > 1 && !sidebar.monitoringPrint
|
||||
|
||||
anchors
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue