]> git.lyx.org Git - features.git/commitdiff
Prevent warning when pressing OKAY while the dialog is in AUTOAPPLY_INITIAL state...
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 3 May 2009 15:27:47 +0000 (15:27 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 3 May 2009 15:27:47 +0000 (15:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29514 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/ButtonPolicy.cpp

index 2e6b1bfce492a13d1cb88cd2289ef9e3ef789f2a..6d8e64781b0af27f2ae51757fc2ab0565f199d97 100644 (file)
@@ -563,7 +563,7 @@ void ButtonPolicy::Private::initOkApplyCancelAutoReadOnly()
        outputs_[VALID] = RESTORE | OKAY | APPLY | CANCEL | AUTOAPPLY;
        outputs_[INVALID] = RESTORE | CANCEL | AUTOAPPLY;
        outputs_[APPLIED] = OKAY | CLOSE | AUTOAPPLY;
-       outputs_[AUTOAPPLY_INITIAL] = CLOSE | AUTOAPPLY | OKAY;
+       outputs_[AUTOAPPLY_INITIAL] = CLOSE | AUTOAPPLY;
        outputs_[AUTOAPPLY_CHANGED] = CLOSE | RESTORE | AUTOAPPLY | OKAY;
        outputs_[RO_INITIAL] = CLOSE;
        outputs_[RO_VALID] = RESTORE | CANCEL;