Skip to content

Commit 9c92a3c

Browse files
authored
Nicer check-empty-build popup (#8077)
1 parent 5e44a62 commit 9c92a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/Build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ function buildMode:LoadDB(xmlText, fileName)
19571957
launch:ShowErrMsg("^1Error loading '%s': %s", fileName, errMsg)
19581958
return true
19591959
elseif #dbXML == 0 then
1960-
launch:ShowErrMsg("^1Build file empty '%s'", fileName)
1960+
main:OpenMessagePopup("Error", "Build file is empty, or error parsing xml.\n\n"..fileName)
19611961
return true
19621962
elseif dbXML[1].elem ~= "PathOfBuilding" then
19631963
launch:ShowErrMsg("^1Error parsing '%s': 'PathOfBuilding' root element missing", fileName)

0 commit comments

Comments
 (0)