summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 177c2a23..12ed40b3 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5329,7 +5329,7 @@ void MainWindow::addAsExecutable()
case FileExecutionTypes::Executable: {
QString name = QInputDialog::getText(this, tr("Enter Name"),
tr("Please enter a name for the executable"), QLineEdit::Normal,
- targetInfo.baseName());
+ targetInfo.completeBaseName());
if (!name.isEmpty()) {
//Note: If this already exists, you'll lose custom settings