mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 08:48:58 +08:00
Cleanup
CURA-9793
This commit is contained in:
parent
62bae7df19
commit
01ebee4aea
@ -58,7 +58,9 @@ Cura.ComboBox {
|
||||
function onIsValueUsedChanged() { comboboxModel.updateModel() }
|
||||
}
|
||||
|
||||
onCurrentIndexChanged:
|
||||
onCurrentIndexChanged: updateSetting()
|
||||
|
||||
function updateSetting(value)
|
||||
{
|
||||
if (comboboxModel.get(currentIndex) && comboboxModel.get(currentIndex).code)
|
||||
{
|
||||
|
@ -63,10 +63,7 @@ RowLayout
|
||||
id: updateTimer
|
||||
interval: 100
|
||||
repeat: false
|
||||
onTriggered:
|
||||
{
|
||||
parseValueUpdateSetting()
|
||||
}
|
||||
onTriggered: parseValueUpdateSetting()
|
||||
}
|
||||
|
||||
function parseValueUpdateSetting()
|
||||
|
Loading…
x
Reference in New Issue
Block a user