mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
Merge branch 'staged' of github.com:xiaoyifang/goldendict into staged
This commit is contained in:
commit
f47162e280
|
@ -3516,7 +3516,8 @@ void MainWindow::on_saveArticle_triggered()
|
|||
&selectedFilter,
|
||||
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() )
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue