mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 13:43:14 +08:00
fixed discard or keep combobox on Mac
Use the new controls ComboBox
This commit is contained in:
parent
2548fd8014
commit
f730959f78
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
import QtQuick 2.1
|
import QtQuick 2.1
|
||||||
import QtQuick.Controls 1.1
|
import QtQuick.Controls 1.1
|
||||||
|
import QtQuick.Controls 2.15 as NewControls
|
||||||
import QtQuick.Dialogs 1.2
|
import QtQuick.Dialogs 1.2
|
||||||
import QtQuick.Window 2.1
|
import QtQuick.Window 2.1
|
||||||
|
|
||||||
@ -145,10 +146,11 @@ UM.Dialog
|
|||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
|
||||||
ComboBox
|
NewControls.ComboBox
|
||||||
{
|
{
|
||||||
id: discardOrKeepProfileChangesDropDownButton
|
id: discardOrKeepProfileChangesDropDownButton
|
||||||
width: 300
|
width: 300
|
||||||
|
textRole: "text"
|
||||||
|
|
||||||
model: ListModel
|
model: ListModel
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user