Prevent warning when pressing OKAY while the dialog is in AUTOAPPLY_INITIAL state (GuiCharacter).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-05-03 15:27:47 +00:00
parent a7b6a5ba48
commit 17af255396

View 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;