From 5aa231112fc35492dd3187d1b798a2579cd3fb9f Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 10 Mar 2003 17:06:01 +0000 Subject: [PATCH] fix tabularcreate bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6428 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 5 +++++ src/frontends/qt2/Dialogs3.C | 2 +- src/frontends/xforms/ChangeLog | 5 +++++ src/frontends/xforms/Dialogs3.C | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 471776a95f..72a66f6dde 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2003-03-10 Angus Leeming + + * Dialogs3.C (build): the "tabularcreate" dialog is always valid. + Use IgnorantPolicy for thr B.C. + 2003-03-09 Angus Leeming * lots of files: changes associated with the clean-up of the diff --git a/src/frontends/qt2/Dialogs3.C b/src/frontends/qt2/Dialogs3.C index 709a862c49..077011638a 100644 --- a/src/frontends/qt2/Dialogs3.C +++ b/src/frontends/qt2/Dialogs3.C @@ -188,7 +188,7 @@ Dialog * Dialogs::build(string const & name) } else if (name == "tabularcreate") { dialog->setController(new ControlTabularCreate(*dialog)); dialog->setView(new QTabularCreate(*dialog)); - dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); + dialog->bc().bp(new IgnorantPolicy); } else if (name == "toc") { dialog->setController(new ControlToc(*dialog)); dialog->setView(new QToc(*dialog)); diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 252fe1d293..89cdf69295 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2003-03-10 Angus Leeming + + * Dialogs3.C (build): the "tabularcreate" dialog is always valid. + Use IgnorantPolicy for thr B.C. + 2003-03-09 Angus Leeming * lots of files: changes associated with the clean-up of the diff --git a/src/frontends/xforms/Dialogs3.C b/src/frontends/xforms/Dialogs3.C index d944ea45fd..e2a66c82fc 100644 --- a/src/frontends/xforms/Dialogs3.C +++ b/src/frontends/xforms/Dialogs3.C @@ -184,7 +184,7 @@ Dialog * Dialogs::build(string const & name) } else if (name == "tabularcreate") { dialog->setController(new ControlTabularCreate(*dialog)); dialog->setView(new FormTabularCreate(*dialog)); - dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); + dialog->bc().bp(new IgnorantPolicy); } else if (name == "toc") { dialog->setController(new ControlToc(*dialog)); dialog->setView(new FormToc(*dialog)); -- 2.39.2