@@ -3246,15 +3246,22 @@ QMenu *MainWindow::modListContextMenu()
32463246
32473247 menu->addSeparator ();
32483248
3249- menu-> addAction ( tr ( " Open Instance folder " ), this , SLOT ( openInstanceFolder ()) );
3249+ QMenu *openSubMenu = new QMenu ( this );
32503250
3251- menu->addAction (tr (" Open Profile folder" ), this , SLOT (openProfileFolder ()));
32523251
3253- menu ->addAction (tr (" Open Downloads folder" ), this , SLOT (openDownloadsFolder ()));
3252+ openSubMenu ->addAction (tr (" Open Instance folder" ), this , SLOT (openInstanceFolder ()));
32543253
3255- menu ->addAction (tr (" Open Game folder" ), this , SLOT (openGameFolder ()));
3254+ openSubMenu ->addAction (tr (" Open Profile folder" ), this , SLOT (openProfileFolder ()));
32563255
3257- menu->addAction (tr (" Open MyGames folder" ), this , SLOT (openMyGamesFolder ()));
3256+ openSubMenu->addAction (tr (" Open Downloads folder" ), this , SLOT (openDownloadsFolder ()));
3257+
3258+ openSubMenu->addAction (tr (" Open Game folder" ), this , SLOT (openGameFolder ()));
3259+
3260+ openSubMenu->addAction (tr (" Open MyGames folder" ), this , SLOT (openMyGamesFolder ()));
3261+
3262+ openSubMenu->setTitle (tr (" Open Folder..." ));
3263+
3264+ menu->addMenu (openSubMenu);
32583265
32593266 return menu;
32603267}
@@ -3321,6 +3328,9 @@ void MainWindow::on_modList_customContextMenuRequested(const QPoint &pos)
33213328 menu->addAction (tr (" Rename Mod..." ), this , SLOT (renameMod_clicked ()));
33223329 menu->addAction (tr (" Remove Mod..." ), this , SLOT (removeMod_clicked ()));
33233330 menu->addAction (tr (" Reinstall Mod" ), this , SLOT (reinstallMod_clicked ()));
3331+
3332+ menu->addSeparator ();
3333+
33243334 if (info->getNexusID () > 0 ) {
33253335 switch (info->endorsedState ()) {
33263336 case ModInfo::ENDORSED_TRUE: {
@@ -3341,6 +3351,8 @@ void MainWindow::on_modList_customContextMenuRequested(const QPoint &pos)
33413351 }
33423352 }
33433353
3354+ menu->addSeparator ();
3355+
33443356 std::vector<ModInfo::EFlag> flags = info->getFlags ();
33453357 if (std::find (flags.begin (), flags.end (), ModInfo::FLAG_INVALID) != flags.end ()) {
33463358 menu->addAction (tr (" Ignore missing data" ), this , SLOT (ignoreMissingData_clicked ()));
0 commit comments