mirror of https://github.com/vitalif/openscad
This should fix the double C:/C:/ bug when dropping a file into the editor under Windows, reported by Stony Smith
parent
610d7508d9
commit
f17d9f0057
|
@ -1728,7 +1728,7 @@ void MainWindow::dropEvent(QDropEvent *event)
|
|||
for (int i = 0; i < urls.size(); i++) {
|
||||
if (urls[i].scheme() != "file")
|
||||
continue;
|
||||
openFile(urls[i].path());
|
||||
openFile(urls[i].toLocalFile());
|
||||
}
|
||||
clearCurrentOutput();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue