Added check for pressing the Cancel button in the file dialog

The Destination field should not be changed if the cancel button is pressed in the file dialog

Signed-off-by: ormorph <roma251078@mail.ru>
pull/21/head
ormorph 2 months ago
parent 466a7399fc
commit 946c66e674
No known key found for this signature in database
GPG Key ID: 30407D7656623DFD

@ -307,6 +307,7 @@ void KStreamRipper::browseButtonClicked()
TQString openDest = KFileDialog::getExistingDirectory( TQDir::homeDirPath(),
this,
"Select Destination..." );
if ( !openDest.isEmpty() )
m_destEdit->setText( openDest );
}

Loading…
Cancel
Save