]> git.lyx.org Git - features.git/commit
Fix assert: Do not use translated names as keys
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 12 May 2013 16:30:59 +0000 (18:30 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 13 May 2013 08:00:57 +0000 (10:00 +0200)
commita033b88a37759c9f72bb0d73c702c7a22027de1f
tree34a0f7c511b9c449cfdc0dccf3b3d94fcca655e7
parent3e65edd7297b5dcf50ec6eefa53056ff91bc368f
Fix assert: Do not use translated names as keys

The panels in GuiDocument and GuiPrefs are stored in a map. The keys are
the translated descriptions of these panels. Whenever someone changes the
gui language and reopens the Document Settings pane, LyX asserted because
it could not find the "Child Documents" pane.
src/frontends/qt4/GuiDocument.cpp
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/PanelStack.cpp