From: Georg Baum Date: Sat, 10 Oct 2015 19:15:55 +0000 (+0200) Subject: Fix copy-paste leftover X-Git-Tag: 2.2.0alpha1~247 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=adfeb9637fec57060505f84754f5afca51fea2e1;p=features.git Fix copy-paste leftover Found by cppcheck: (style) Same expression on both sides of '&&'. I deduced the correct if-condition from the other places where theLaTeXFonts() is called. --- diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index e9d0f41871..a4aa71f13a 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1893,7 +1893,7 @@ bool GuiDocument::completeFontset() const return (fontModule->fontsSansCO->itemData( fontModule->fontsSansCO->currentIndex()).toString() == "default" && fontModule->fontsSansCO->itemData( - fontModule->fontsSansCO->currentIndex()).toString() == "default"); + fontModule->fontsTypewriterCO->currentIndex()).toString() == "default"); }