Greetings to Lars from Scott Kostyshak, cf r40585.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40792 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2012-02-22 12:11:21 +00:00
parent f5daafc02b
commit 78508399bc

View File

@ -949,8 +949,8 @@ void MenuDefinition::expandDocuments()
Buffer * b = first;
// We cannot use a for loop as the buffer list cycles.
do {
if (guiApp->currentView()
&& guiApp->currentView()->workArea(*b)) {
if (!(guiApp->currentView()
&& guiApp->currentView()->workArea(*b))) {
QString label = toqstr(b->fileName().displayName(20));
if (!b->isClean())
label += "*";