fix tabularcreate bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6428 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-03-10 17:06:01 +00:00
parent b25a73386f
commit 5aa231112f
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-03-10 Angus Leeming <leeming@lyx.org>
* Dialogs3.C (build): the "tabularcreate" dialog is always valid.
Use IgnorantPolicy for thr B.C.
2003-03-09 Angus Leeming <leeming@lyx.org> 2003-03-09 Angus Leeming <leeming@lyx.org>
* lots of files: changes associated with the clean-up of the * lots of files: changes associated with the clean-up of the

View File

@ -188,7 +188,7 @@ Dialog * Dialogs::build(string const & name)
} else if (name == "tabularcreate") { } else if (name == "tabularcreate") {
dialog->setController(new ControlTabularCreate(*dialog)); dialog->setController(new ControlTabularCreate(*dialog));
dialog->setView(new QTabularCreate(*dialog)); dialog->setView(new QTabularCreate(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); dialog->bc().bp(new IgnorantPolicy);
} else if (name == "toc") { } else if (name == "toc") {
dialog->setController(new ControlToc(*dialog)); dialog->setController(new ControlToc(*dialog));
dialog->setView(new QToc(*dialog)); dialog->setView(new QToc(*dialog));

View File

@ -1,3 +1,8 @@
2003-03-10 Angus Leeming <leeming@lyx.org>
* Dialogs3.C (build): the "tabularcreate" dialog is always valid.
Use IgnorantPolicy for thr B.C.
2003-03-09 Angus Leeming <leeming@lyx.org> 2003-03-09 Angus Leeming <leeming@lyx.org>
* lots of files: changes associated with the clean-up of the * lots of files: changes associated with the clean-up of the

View File

@ -184,7 +184,7 @@ Dialog * Dialogs::build(string const & name)
} else if (name == "tabularcreate") { } else if (name == "tabularcreate") {
dialog->setController(new ControlTabularCreate(*dialog)); dialog->setController(new ControlTabularCreate(*dialog));
dialog->setView(new FormTabularCreate(*dialog)); dialog->setView(new FormTabularCreate(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy); dialog->bc().bp(new IgnorantPolicy);
} else if (name == "toc") { } else if (name == "toc") {
dialog->setController(new ControlToc(*dialog)); dialog->setController(new ControlToc(*dialog));
dialog->setView(new FormToc(*dialog)); dialog->setView(new FormToc(*dialog));