Commit 23bc3550 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Minor fix

svn path=/trunk/kdesdk/cervisia/; revision=114121
parent 2ef934fd
...@@ -289,7 +289,9 @@ void CheckoutDialog::saveOptions(KConfig *config) ...@@ -289,7 +289,9 @@ void CheckoutDialog::saveOptions(KConfig *config)
void CheckoutDialog::dirButtonClicked() void CheckoutDialog::dirButtonClicked()
{ {
workdir_edit->setText(KFileDialog::getExistingDirectory(workdir_edit->text())); QString path=KFileDialog::getExistingDirectory(workdir_edit->text());
if(!path.isEmpty())
workdir_edit->setText(path);
} }
...@@ -301,7 +303,7 @@ void CheckoutDialog::moduleButtonClicked() ...@@ -301,7 +303,7 @@ void CheckoutDialog::moduleButtonClicked()
cmdline += " checkout -c"; cmdline += " checkout -c";
CvsProgressDialog l("Checkout", this); CvsProgressDialog l("Checkout", this);
l.setCaption("CVS Checkout"); l.setCaption(i18n("CVS Checkout"));
if (!l.execCommand("", repository(), cmdline, "checkout")) if (!l.execCommand("", repository(), cmdline, "checkout"))
return; return;
......
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