]> git.lyx.org Git - features.git/commit
GuiLyXFiles: rework language selector
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 21 Mar 2019 08:13:09 +0000 (09:13 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 21 Mar 2019 08:13:09 +0000 (09:13 +0100)
commit7be8307768e34fd42b76c249a582c0a6b0e95e3e
tree1caf507ee7fe95a3b2515f2dc7a526db51aab538
parent84863eb1b03de97b8445f6cfa633e361a4d7f769
GuiLyXFiles: rework language selector

Now only the languages available for the selected file are displayed.
By default, LyX pre-selects the GUI language (and falls back to English
if this is not available). Once another language has been selected by
the user, this one is preferred before the GUI language (and the English
fallback).
src/frontends/qt4/GuiLyXFiles.cpp
src/frontends/qt4/GuiLyXFiles.h
src/frontends/qt4/ui/LyXFilesUi.ui