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 3 months ago
parent 466a7399fc
commit 946c66e674
No known key found for this signature in database
GPG Key ID: 30407D7656623DFD

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

Loading…
Cancel
Save