mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fix some codestyle issues
This commit is contained in:
parent
5061a36aba
commit
f983990ac1
2 changed files with 107 additions and 111 deletions
|
@ -40,7 +40,8 @@ Item
|
|||
// update active type label
|
||||
for (var button in meshTypeButtons.children)
|
||||
{
|
||||
if (meshTypeButtons.children[button].checked){
|
||||
if (meshTypeButtons.children[button].checked)
|
||||
{
|
||||
meshTypeLabel.text = catalog.i18nc("@label", "Mesh Type") + ": " + meshTypeButtons.children[button].text
|
||||
break
|
||||
}
|
||||
|
@ -321,10 +322,7 @@ Item
|
|||
Connections
|
||||
{
|
||||
target: inheritStackProvider
|
||||
onPropertiesChanged:
|
||||
{
|
||||
provider.forcePropertiesChanged()
|
||||
}
|
||||
onPropertiesChanged: provider.forcePropertiesChanged()
|
||||
}
|
||||
|
||||
Connections
|
||||
|
@ -460,5 +458,4 @@ Item
|
|||
|
||||
Cura.SettingUnknown { }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import Cura 1.0 as Cura
|
|||
import ".."
|
||||
|
||||
UM.Dialog
|
||||
{
|
||||
{
|
||||
id: settingPickDialog
|
||||
|
||||
title: catalog.i18nc("@title:window", "Select Settings to Customize for this model")
|
||||
|
@ -40,10 +40,12 @@ UM.Dialog
|
|||
listview.model.filter = new_filter
|
||||
}
|
||||
|
||||
TextField {
|
||||
TextField
|
||||
{
|
||||
id: filterInput
|
||||
|
||||
anchors {
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
right: toggleShowAll.left
|
||||
|
@ -59,17 +61,15 @@ UM.Dialog
|
|||
{
|
||||
id: toggleShowAll
|
||||
|
||||
anchors {
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
}
|
||||
|
||||
text: catalog.i18nc("@label:checkbox", "Show all")
|
||||
checked: listview.model.showAll
|
||||
onClicked:
|
||||
{
|
||||
listview.model.showAll = checked
|
||||
}
|
||||
onClicked: listview.model.showAll = checked
|
||||
}
|
||||
|
||||
ScrollView
|
||||
|
@ -126,11 +126,10 @@ UM.Dialog
|
|||
}
|
||||
|
||||
rightButtons: [
|
||||
Button {
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Close")
|
||||
onClicked: {
|
||||
settingPickDialog.visible = false
|
||||
}
|
||||
onClicked: settingPickDialog.visible = false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue