GUI: Fix setting application path as name.

The application dialog initialized name field with path.
This commit is contained in:
Kimmo Varis 2011-04-04 10:23:43 +03:00
parent 63acd9bb3e
commit cfd570e1f3
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}