mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:05:57 +08:00
Dialogs inheriting from incorrect Component, causing the buttons to be styled incorrectly
CURA-8688
This commit is contained in:
parent
1b6c3516bd
commit
5dfc5971e3
@ -125,7 +125,7 @@ UM.ManagementPage
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.RenameDialog
|
Cura.RenameDialog
|
||||||
{
|
{
|
||||||
id: renameDialog
|
id: renameDialog
|
||||||
object: base.currentItem && base.currentItem.name ? base.currentItem.name : ""
|
object: base.currentItem && base.currentItem.name ? base.currentItem.name : ""
|
||||||
|
@ -11,6 +11,9 @@ import Cura 1.0 as Cura
|
|||||||
UM.Dialog
|
UM.Dialog
|
||||||
{
|
{
|
||||||
id: base
|
id: base
|
||||||
|
|
||||||
|
buttonSpacing: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
property string object: ""
|
property string object: ""
|
||||||
|
|
||||||
property alias newName: nameField.text
|
property alias newName: nameField.text
|
||||||
@ -64,14 +67,6 @@ UM.Dialog
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
|
||||||
{
|
|
||||||
ButtonGroup {
|
|
||||||
buttons: [cancelButton, okButton]
|
|
||||||
checkedButton: okButton
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
rightButtons: [
|
rightButtons: [
|
||||||
Cura.SecondaryButton
|
Cura.SecondaryButton
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user