mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
8a047a4112
commit
adfeb9637f
@ -1893,7 +1893,7 @@ bool GuiDocument::completeFontset() const
|
|||||||
return (fontModule->fontsSansCO->itemData(
|
return (fontModule->fontsSansCO->itemData(
|
||||||
fontModule->fontsSansCO->currentIndex()).toString() == "default"
|
fontModule->fontsSansCO->currentIndex()).toString() == "default"
|
||||||
&& fontModule->fontsSansCO->itemData(
|
&& fontModule->fontsSansCO->itemData(
|
||||||
fontModule->fontsSansCO->currentIndex()).toString() == "default");
|
fontModule->fontsTypewriterCO->currentIndex()).toString() == "default");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user