From: Richard Heck Date: Thu, 14 Oct 2010 14:02:49 +0000 (+0000) Subject: Need ifthen for this, too. X-Git-Tag: 2.0.0~2384 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4ff48f1d5499fdce17785a9d4b3704309742c318;p=features.git Need ifthen for this, too. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35647 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index a30b7b63e4..d9bef45d48 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -228,7 +228,7 @@ void InsetRef::validate(LaTeXFeatures & features) const else if (getCmdName() == "formatted") { if (buffer().params().use_refstyle) { features.require("refstyle"); - //features.addPreambleSnippet(""); + features.require("ifthen"); } else features.require("prettyref"); } else if (getCmdName() == "eqref" && !buffer().params().use_refstyle)