mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Also convert visibility-preset dropdown.
This will make this Qt5.15 control work on mac again. (Since the older controls are deprecated.) CURA-8127
This commit is contained in:
parent
39e9dcd4f5
commit
d2007901f7
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,8 @@ import QtQuick 2.1
|
|||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Controls.Styles 1.1
|
||||
|
||||
import QtQuick.Controls 2.3 as NewControls
|
||||
|
||||
import UM 1.2 as UM
|
||||
|
||||
import Cura 1.0 as Cura
|
||||
|
@ -96,7 +98,7 @@ UM.PreferencesPage
|
|||
onTextChanged: definitionsModel.filter = {"i18n_label": "*" + text}
|
||||
}
|
||||
|
||||
ComboBox
|
||||
NewControls.ComboBox
|
||||
{
|
||||
id: visibilityPreset
|
||||
width: 150 * screenScaleFactor
|
||||
|
@ -104,6 +106,7 @@ UM.PreferencesPage
|
|||
{
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
bottom: scrollView.top
|
||||
}
|
||||
|
||||
model: settingVisibilityPresetsModel.items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue