Commit 5d95eeca authored by Robert Knight's avatar Robert Knight
Browse files

Include arguments when setting text of command field.

svn path=/branches/work/konsole-split-view/; revision=661272
parent 38ba5d0e
......@@ -101,7 +101,9 @@ void EditProfileDialog::setProfile(const QString& key)
void EditProfileDialog::setupGeneralPage(const Profile* info)
{
_ui->profileNameEdit->setText( info->name() );
_ui->commandEdit->setText( info->command() );
ShellCommand command( info->command() , info->arguments() );
_ui->commandEdit->setText( command.fullCommand() );
KUrlCompletion* exeCompletion = new KUrlCompletion(KUrlCompletion::ExeCompletion);
exeCompletion->setDir(QString::null);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment