mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
minor fixes
CURA-8728
This commit is contained in:
parent
c95481f6e7
commit
bfdfbbdbbd
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue