mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-28 03:44:07 +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,
|
&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;
|
||||||
|
|
Loading…
Reference in a new issue