From cfd570e1f363f8f43b6c3c715d87ff1b278a73f1 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Mon, 4 Apr 2011 10:23:43 +0300 Subject: [PATCH] GUI: Fix setting application path as name. The application dialog initialized name field with path. --- gui/applicationdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/applicationdialog.cpp b/gui/applicationdialog.cpp index ee29935de..43ea741ef 100644 --- a/gui/applicationdialog.cpp +++ b/gui/applicationdialog.cpp @@ -37,7 +37,7 @@ ApplicationDialog::ApplicationDialog(const QString &title, connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept())); connect(mUI.mButtons, SIGNAL(rejected()), this, SLOT(reject())); mUI.mPath->setText(app.getPath()); - mUI.mName->setText(app.getPath()); + mUI.mName->setText(app.getName()); mUI.mParameters->setText(app.getParameters()); setWindowTitle(title); }