mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Revert "Avoid setting RTL on first run"
This reverts commit 5dc79e22cd
.
I appear to have been confused in my earlier testing, as reverting
this change seems to make no difference the top bar on first startup,
and fixes a bunch of other regressions that the original change introduced.
https://github.com/ankitects/anki/issues/2269
This commit is contained in:
parent
968a14784f
commit
449338d7ec
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ def setupLangAndBackend(
|
|||
anki.lang.set_lang(lang)
|
||||
|
||||
# switch direction for RTL languages
|
||||
if anki.lang.is_rtl(lang) and not firstTime:
|
||||
if anki.lang.is_rtl(lang):
|
||||
app.setLayoutDirection(Qt.LayoutDirection.RightToLeft)
|
||||
else:
|
||||
app.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
|
|
Loading…
Reference in a new issue