mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
commit
6362153292
|
@ -537,7 +537,7 @@ void ArticleView::jumpToDictionary( QString const & id, bool force )
|
|||
{
|
||||
|
||||
// jump only if neceessary, or when forced
|
||||
if ( const QString targetArticle = scrollToFromDictionaryId( id ); force || targetArticle != getCurrentArticle() ) {
|
||||
if ( const QString targetArticle = scrollToFromDictionaryId( id ); force && targetArticle != getCurrentArticle() ) {
|
||||
setCurrentArticle( targetArticle, true );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue