]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:18 +0000 (15:48 +0200)
commit65e14359631e035ec26492ad56f963123f213b06
tree7147aa147c59809dcf6525d1707c082aff4716ee
parente97d10b98b2141c85ae5e25305f4017f6f7336c6
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