Skip to content

Commit 3ce07d2

Browse files
committed
Qt: use complete.zip found in ldraw dir only if LDrawZip was not set
1 parent 2555758 commit 3ce07d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QT/ModelViewerWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ bool ModelViewerWidget::verifyLDrawDir(char *value)
19091909
LDLModel::setLDrawDir(value);
19101910
found = true;
19111911
QDir::setCurrent(value);
1912-
if (QDir::current().exists("complete.zip"))
1912+
if (QDir::current().exists("complete.zip") && !Preferences::getLDrawZipPath())
19131913
{
19141914
char *ldrawZip = copyString(value, 255);
19151915
strcat(ldrawZip, "/complete.zip");

0 commit comments

Comments
 (0)