Fix type preventing opening project

parent 44583e08
......@@ -274,7 +274,7 @@ void ProjectManager::openFile()
//TODO KF5 set default location to project folder
QUrl url = QFileDialog::getOpenFileUrl(QApplication::activeWindow(), QString(), QUrl(), getMimeType());
if (url.isValid()) {
if (!url.isValid()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment