tweaks to ensure that the Ok,Apply buttons behave as expected.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6108 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-02-11 18:04:10 +00:00
parent 26d5907fbc
commit 78dac268dd

View File

@ -247,6 +247,9 @@ ButtonPolicy::SMInput FormRef::input(FL_OBJECT * ob, long)
ob == dialog_->check_sort ||
ob == dialog_->choice_document) {
// No change to data
activate = ButtonPolicy::SMI_NOOP;
if (ob == dialog_->button_update ||
ob == dialog_->choice_document) {
string const name =