mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:29:00 +08:00
minor fixes
CURA-8728
This commit is contained in:
parent
c95481f6e7
commit
bfdfbbdbbd
@ -238,7 +238,7 @@ Item
|
|||||||
delegate: Row
|
delegate: Row
|
||||||
{
|
{
|
||||||
spacing: UM.Theme.getSize("default_margin").width
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
property var settingLoader_x: settingLoader.item
|
property var settingLoaderItem: settingLoader.item
|
||||||
Loader
|
Loader
|
||||||
{
|
{
|
||||||
id: settingLoader
|
id: settingLoader
|
||||||
@ -361,11 +361,11 @@ Item
|
|||||||
}
|
}
|
||||||
if (contents.currentItem)
|
if (contents.currentItem)
|
||||||
{
|
{
|
||||||
contents.currentItem.settingLoader_x.focusItem.forceActiveFocus()
|
contents.currentItem.settingLoaderItem.focusItem.forceActiveFocus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{indexWithFocus
|
{
|
||||||
contents.currentIndex = contents.indexWithFocus - 1
|
contents.currentIndex = contents.indexWithFocus - 1
|
||||||
while(contents.currentItem && contents.currentItem.height <= 0)
|
while(contents.currentItem && contents.currentItem.height <= 0)
|
||||||
{
|
{
|
||||||
@ -373,7 +373,7 @@ Item
|
|||||||
}
|
}
|
||||||
if (contents.currentItem)
|
if (contents.currentItem)
|
||||||
{
|
{
|
||||||
contents.currentItem.settingLoader_x.focusItem.forceActiveFocus()
|
contents.currentItem.settingLoaderItem.focusItem.forceActiveFocus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user