GUI: Fix setting application path as name.
The application dialog initialized name field with path.
This commit is contained in:
parent
63acd9bb3e
commit
cfd570e1f3
|
@ -37,7 +37,7 @@ ApplicationDialog::ApplicationDialog(const QString &title,
|
||||||
connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept()));
|
connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept()));
|
||||||
connect(mUI.mButtons, SIGNAL(rejected()), this, SLOT(reject()));
|
connect(mUI.mButtons, SIGNAL(rejected()), this, SLOT(reject()));
|
||||||
mUI.mPath->setText(app.getPath());
|
mUI.mPath->setText(app.getPath());
|
||||||
mUI.mName->setText(app.getPath());
|
mUI.mName->setText(app.getName());
|
||||||
mUI.mParameters->setText(app.getParameters());
|
mUI.mParameters->setText(app.getParameters());
|
||||||
setWindowTitle(title);
|
setWindowTitle(title);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue