From bd0301699a3243162911a96dce96c4241e32bc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 29 Mar 2008 23:12:24 +0000 Subject: [PATCH] Silent a console warning, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4667 Patch initially by Richard. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24051 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/ButtonPolicy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/ButtonPolicy.cpp b/src/frontends/qt4/ButtonPolicy.cpp index e2a3431b67..760174455d 100644 --- a/src/frontends/qt4/ButtonPolicy.cpp +++ b/src/frontends/qt4/ButtonPolicy.cpp @@ -391,6 +391,8 @@ void ButtonPolicy::initNoRepeatedApplyReadOnly() state_machine_[INVALID][SMI_INVALID] = INVALID; state_machine_[INVALID][SMI_READ_WRITE] = INVALID; state_machine_[INVALID][SMI_VALID] = VALID; + state_machine_[INVALID][SMI_OKAY] = INITIAL; + state_machine_[INVALID][SMI_APPLY] = INITIAL; state_machine_[INVALID][SMI_RESTORE] = INITIAL; state_machine_[INVALID][SMI_READ_ONLY] = RO_INVALID; // State::RO_INITIAL