d->menus_.fillMenuBar(d->global_menubar_, 0, true);
QHash<int, GuiView *>::iterator it;
- for (it = d->views_.begin(); it != d->views_.end(); ++it)
- (*it)->resetDialogs();
+ for (it = d->views_.begin(); it != d->views_.end(); ++it) {
+ GuiView * gv = *it;
+ gv->setLayoutDirection(layoutDirection());
+ gv->resetDialogs();
+ }
dispatch(FuncRequest(LFUN_SCREEN_FONT_UPDATE));
}
QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
LYXERR(Debug::LOCALE, "Could not find Qt translations for locale "
<< language_name);
+ } else {
+ LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
+ << language_name);
}
- LYXERR(Debug::LOCALE, "Successfully installed Qt translations for locale "
- << language_name);
-
switch (default_locale.language()) {
case QLocale::Arabic :
case QLocale::Hebrew :