All pastes #820399 Raw Edit

Mine

public text v1 · immutable
·published 2007-12-17 14:55 UTC
rendered paste body
Index: kdirselectdialog.cpp
===================================================================
--- kdirselectdialog.cpp        (revision 749407)
+++ kdirselectdialog.cpp        (working copy)
@@ -315,6 +315,10 @@

 KUrl KDirSelectDialog::url() const
 {
+    KUrl comboUrl(d->m_urlCombo->currentText());
+    if (comboUrl.isValid()) {
+        return comboUrl;
+    }
     return d->m_treeView->currentUrl();
 }