Use the key property of action's source to scroll setting visibility

This commit is contained in:
Arjen Hiemstra 2016-02-16 15:20:16 +01:00 committed by Ghostkeeper
parent e6ef4405c3
commit 074048f83c

View file

@ -482,7 +482,7 @@ UM.MainWindow
{
preferences.visible = true;
preferences.setPage(2);
preferences.getCurrentItem().scrollToSection(source);
preferences.getCurrentItem().scrollToSection(source.key);
}
}
}