mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix crash when apply Preferences. This was introduced in r36625. Just one check too few.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36641 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
08cad4b087
commit
75cb1ebdc1
@ -902,6 +902,8 @@ void MenuDefinition::expandDocuments()
|
||||
|
||||
int i = 0;
|
||||
while (true) {
|
||||
if (!guiApp->currentView())
|
||||
break;
|
||||
GuiWorkArea * wa = guiApp->currentView()->workArea(i);
|
||||
if (!wa)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user