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:
parent
4a392a9173
commit
f71ea3bcee
@ -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" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user