Procházet zdrojové kódy

UI: Fix scene collection importer OS translation

The OS translation in the Scene Collection Importer seems to have been
broken since the feature was added because the translated sources were
not added back to the output JSON object. Add the translated sources to
the output JSON object to get the feature to work.
Ryan Foster před 4 roky
rodič
revize
183fb20dde
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      UI/importers/studio.cpp

+ 1 - 0
UI/importers/studio.cpp

@@ -143,6 +143,7 @@ void TranslateOSStudio(Json &res)
 #undef ClearTranslation
 	}
 
+	out["sources"] = sources;
 	res = out;
 }