From: Vincent van Ravesteijn Date: Fri, 30 Apr 2010 14:11:46 +0000 (+0000) Subject: Fix bug #6677: GUI button disappears in external template inset. X-Git-Tag: 2.0.0~3313 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0833a4a94c5f9084249f5e44e94684cb3f6afde0;p=features.git Fix bug #6677: GUI button disappears in external template inset. Initialize the preview_mode variable. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34346 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ExternalTemplate.cpp b/src/insets/ExternalTemplate.cpp index 7a3b6beb6c..6031dc902f 100644 --- a/src/insets/ExternalTemplate.cpp +++ b/src/insets/ExternalTemplate.cpp @@ -50,7 +50,7 @@ static TransformIDTranslator const & transformIDTranslator() // We have to have dummy default commands for security reasons! Template::Template() - : inputFormat("*") + : inputFormat("*"), preview_mode(PREVIEW_OFF), automaticProduction(false) {}