]> git.lyx.org Git - features.git/commitdiff
Silent a console warning, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4667
authorUwe Stöhr <uwestoehr@web.de>
Sat, 29 Mar 2008 23:12:24 +0000 (23:12 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 29 Mar 2008 23:12:24 +0000 (23:12 +0000)
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

index e2a3431b677332c2d7615d18050fcb069d774bd4..760174455d455a74441f4dc1b7c556f05ac3e915 100644 (file)
@@ -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