mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Show the terms in the wordfinder in RTL if it's needed (patch by dmdmdm)
This commit is contained in:
parent
1094b44d8b
commit
2d9244c311
|
@ -984,6 +984,10 @@ void MainWindow::updateMatchResults( bool finished )
|
|||
i->setFont( f );
|
||||
}
|
||||
}
|
||||
if (i->text().at(0).direction() == QChar::DirR)
|
||||
i->setTextAlignment(Qt::AlignRight);
|
||||
if (i->text().at(0).direction() == QChar::DirL)
|
||||
i->setTextAlignment(Qt::AlignLeft);
|
||||
}
|
||||
|
||||
while ( ui.wordList->count() > (int) results.size() )
|
||||
|
|
Loading…
Reference in a new issue