mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-14 08:34:37 +00:00
from !isFile() -> isDir()
This commit is contained in:
parent
723f33d899
commit
bf6405b203
@ -1318,7 +1318,7 @@ void MainWindow::saveProject()
|
||||
QString fileName = files[0];
|
||||
// this change of dir is needed for subsequent textures/materials loading
|
||||
QFileInfo fi(fileName);
|
||||
if (!fi.isFile())
|
||||
if (fi.isDir())
|
||||
return;
|
||||
QDir::setCurrent(fi.absoluteDir().absolutePath());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user