summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kstreamripper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp
index 4e4142b..57a27a7 100644
--- a/src/kstreamripper.cpp
+++ b/src/kstreamripper.cpp
@@ -307,7 +307,8 @@ void KStreamRipper::browseButtonClicked()
TQString openDest = KFileDialog::getExistingDirectory( TQDir::homeDirPath(),
this,
"Select Destination..." );
- m_destEdit->setText( openDest );
+ if ( !openDest.isEmpty() )
+ m_destEdit->setText( openDest );
}
void KStreamRipper::helpButtonClicked()