Include arguments when setting text of command field.

svn path=/branches/work/konsole-split-view/; revision=661272
wilder-portage
Robert Knight 19 years ago
parent 38ba5d0e24
commit 5d95eeca26
  1. 4
      konsole/EditProfileDialog.cpp

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

Loading…
Cancel
Save