File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2842,8 +2842,14 @@ void MainWindow::refreshNexusCategories(CategoriesDialog* dialog)
28422842{
28432843 NexusInterface& nexus = NexusInterface::instance ();
28442844 nexus.setPluginContainer (&m_PluginContainer);
2845- nexus.requestGameInfo (Settings::instance ().game ().plugin ()->gameShortName (), dialog,
2846- QVariant (), QString ());
2845+ if (!Settings::instance ().game ().plugin ()->primarySources ().isEmpty ()) {
2846+ nexus.requestGameInfo (
2847+ Settings::instance ().game ().plugin ()->primarySources ().first (), dialog,
2848+ QVariant (), QString ());
2849+ } else {
2850+ nexus.requestGameInfo (Settings::instance ().game ().plugin ()->gameShortName (), dialog,
2851+ QVariant (), QString ());
2852+ }
28472853}
28482854
28492855void MainWindow::categoriesSaved ()
You can’t perform that action at this time.
0 commit comments