Commit aa125a24 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

Qt: Open: Don't allow next step if item is missing.

Otherwise it confusingly closes silently
parent 9b1d01a8
......@@ -443,6 +443,9 @@ void OpenDialog::updateMRL() {
}
ui.advancedLineInput->setText( mrl );
ui.mrlLine->setText( itemsMRL.join( " " ) );
/* Only allow action without valid items */
playButton->setEnabled( !itemsMRL.isEmpty() );
selectButton->setEnabled( !itemsMRL.isEmpty() );
}
/* Change the caching combobox */
......
Supports Markdown
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