1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-22 13:48:06 +02:00

Call Menu::skinUpdated() earlier in initMenu()

That method initializes linkColumns, which is divided by in
setLinkIndex().
This commit is contained in:
Maarten ter Huurne 2013-08-06 19:59:35 +02:00
parent 4a392a9173
commit f71ea3bcee

View File

@ -386,6 +386,8 @@ void GMenu2X::initMenu() {
}
}
menu->skinUpdated();
menu->setSectionIndex(confInt["section"]);
menu->setLinkIndex(confInt["link"]);
@ -393,8 +395,6 @@ void GMenu2X::initMenu() {
btnContextMenu->setPosition(resX - 38, bottomBarIconY);
btnContextMenu->setAction(BIND(&GMenu2X::contextMenu));
menu->skinUpdated();
//DEBUG
//menu->addLink( CARD_ROOT, "sample.pxml", "applications" );