Skip to content

Commit

Permalink
Build in current dirrectory option fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dman95 committed Feb 19, 2017
1 parent e9ee2aa commit 1fcf6ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mainwindow.cpp
Expand Up @@ -864,6 +864,8 @@ void MainWindow::buildProgram(bool debugMode)
if (!path.isEmpty()) {
QString dirPath = QFileInfo(path).absoluteDir().absolutePath();
assemblerProcess.setWorkingDirectory(dirPath);
} else {
assemblerProcess.setWorkingDirectory(applicationDataPath() + "/include");
}
} else {
assemblerProcess.setWorkingDirectory(applicationDataPath() + "/include");
Expand Down

0 comments on commit 1fcf6ff

Please sign in to comment.