]> git.lyx.org Git - lyx.git/commitdiff
Fix bug #6677: GUI button disappears in external template inset.
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 30 Apr 2010 14:11:46 +0000 (14:11 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 30 Apr 2010 14:11:46 +0000 (14:11 +0000)
Initialize the preview_mode variable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34346 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ExternalTemplate.cpp

index 7a3b6beb6c51596ff09b8b8f93dfbef3365fffad..6031dc902f8e9a2997831d48136520f035017f35 100644 (file)
@@ -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)
 {}