Commit c33458d3 authored by Committed by Jan GrulichBrowse files
FileChooser: Properly preselect MIME filter passed as "current_filter"
Other than the 'KFileWidget::setFilter' case, calling 'KFileWidget::setMimeFilter' does not select the first filter in the list, but takes an explicit (optional) parameter which of the filters to preselect, "otherwise, a first item showing all the mimetypes will be created".   https://api.kde.org/frameworks/kio/html/classKFileWidget.html#acdb884df2e08aa11c92adc1f96b6b2c1
Showing with 28 additions and 44 deletions