Merge branch 'staged' of github.com:xiaoyifang/goldendict into staged

This commit is contained in:
Xiao YiFang 2022-09-05 20:17:38 +08:00
commit f47162e280

View file

@ -3516,7 +3516,8 @@ void MainWindow::on_saveArticle_triggered()
&selectedFilter, &selectedFilter,
options ); options );
bool complete = ( selectedFilter == filters[ 0 ] ); // The " (*.html)" part of filters[i] is absent from selectedFilter in Qt 5.
bool const complete = filters.at( 0 ).startsWith( selectedFilter );
if( fileName.isEmpty() ) if( fileName.isEmpty() )
return; return;