GUI: Fix assert in GUI during MasAdd

If there is an entry without language specified, this would lead
to an assert. Yet another consequences of HashMap rewrite. Sigh.
This commit is contained in:
Eugene Sandulenko
2021-04-28 00:41:35 +02:00
parent b33a3cfc2f
commit cf84166316
+1 -1
View File
@@ -213,7 +213,7 @@ void MassAddDialog::handleTickle() {
if ((*dom)["engineid"] == result.engineId &&
(*dom)["gameid"] == result.gameId &&
(*dom)["platform"] == resultPlatformCode &&
(*dom)["language"] == resultLanguageCode) {
dom->getValOrDefault("language") == resultLanguageCode) {
duplicate = true;
break;
}