mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 09:05:14 +01:00
Make the maps submenus work with large amount of items
This commit is contained in:
parent
abd1dc2450
commit
e63ad7a244
@ -1511,6 +1511,7 @@ void GUI::loadMapDir()
|
||||
|
||||
QFileInfo fi(dir);
|
||||
QMenu *menu = new QMenu(fi.fileName());
|
||||
menu->setStyleSheet("QMenu { menu-scrollable: 1; }");
|
||||
_mapMenu->insertMenu(_mapsEnd, menu);
|
||||
|
||||
for (int i = 0; i < maps.size(); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user