mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:16:06 +08:00
Use the key property of action's source to scroll setting visibility
This commit is contained in:
parent
e6ef4405c3
commit
074048f83c
@ -482,7 +482,7 @@ UM.MainWindow
|
|||||||
{
|
{
|
||||||
preferences.visible = true;
|
preferences.visible = true;
|
||||||
preferences.setPage(2);
|
preferences.setPage(2);
|
||||||
preferences.getCurrentItem().scrollToSection(source);
|
preferences.getCurrentItem().scrollToSection(source.key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user