mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Dialogs inheriting from incorrect Component, causing the buttons to be styled incorrectly
CURA-8688
This commit is contained in:
parent
1b6c3516bd
commit
5dfc5971e3
2 changed files with 4 additions and 9 deletions
|
|
@ -11,6 +11,9 @@ import Cura 1.0 as Cura
|
|||
UM.Dialog
|
||||
{
|
||||
id: base
|
||||
|
||||
buttonSpacing: UM.Theme.getSize("default_margin").width
|
||||
|
||||
property string object: ""
|
||||
|
||||
property alias newName: nameField.text
|
||||
|
|
@ -64,14 +67,6 @@ UM.Dialog
|
|||
}
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
ButtonGroup {
|
||||
buttons: [cancelButton, okButton]
|
||||
checkedButton: okButton
|
||||
}
|
||||
}
|
||||
|
||||
rightButtons: [
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue