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.
This commit is contained in:
Georg Baum 2015-10-10 21:15:55 +02:00
parent 8a047a4112
commit adfeb9637f

View File

@ -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");
}