mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Use buttons from QtQuick.Controls 2
This is to make it look more consistent with the open dialog, which needed Controls 2 in order to make the drop-downs work on MacOS. As discussed in the CCB.
This commit is contained in:
parent
88f6bb743c
commit
adf3f51a4e
@ -1,8 +1,9 @@
|
||||
// Copyright (c) 2018 Ultimaker B.V.
|
||||
// Copyright (c) 2021 Ultimaker B.V.
|
||||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 1.4
|
||||
import QtQuick.Controls 2.0 as Controls2
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Window 2.2
|
||||
|
||||
@ -281,7 +282,7 @@ UM.Dialog
|
||||
text: catalog.i18nc("@action:label", "Don't show project summary on save again")
|
||||
checked: dontShowAgain
|
||||
}
|
||||
Button
|
||||
Controls2.Button
|
||||
{
|
||||
id: cancel_button
|
||||
anchors
|
||||
@ -293,7 +294,7 @@ UM.Dialog
|
||||
enabled: true
|
||||
onClicked: close()
|
||||
}
|
||||
Button
|
||||
Controls2.Button
|
||||
{
|
||||
id: ok_button
|
||||
anchors.right: parent.right
|
||||
|
Loading…
x
Reference in New Issue
Block a user