]> git.lyx.org Git - features.git/commitdiff
fix table bugs 939 and 1036
authorJohn Levon <levon@movementarian.org>
Thu, 10 Apr 2003 20:56:16 +0000 (20:56 +0000)
committerJohn Levon <levon@movementarian.org>
Thu, 10 Apr 2003 20:56:16 +0000 (20:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6772 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/insets/ChangeLog
src/insets/insettabular.C

index 95d2255ac367736431b5646bf5862c9db2c44e0e..58236269dc11f80c944ca8744406bb9ef8ea7188 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-10  John Levon  <levon@movementarian.org>
+
+       * ControlTabular.h:
+       * ControlTabular.C: add longTabular() etc.
+
 2003-04-10  John Levon  <levon@movementarian.org>
 
        * ControlMath.C (find_xpm): handle math_delim arguments
index a54614ae9017642097b24b5c5b87cceb5dd15d2e..850d25cd76075568d1483d799d1675cea5acfcae 100644 (file)
@@ -1,3 +1,11 @@
+2003-04-10  John Levon  <levon@movementarian.org>
+
+       * insettabular.C (tabularFeature): make sure
+       to update the dialog when we change something
+       (bug 1036).
+
+       (getStatus): don't disable some lfuns (bug 939)
+
 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
 
        * insettext.C (saveLyXTextState): adjust
index c20a1ec6a5ce119f30790828498a91eaf45a5ac4..3c41f351873472b76f9a6a2a018c7ff585d243a8 100644 (file)
@@ -2006,7 +2006,7 @@ void InsetTabular::tabularFeatures(BufferView * bv,
                                tabular->SetMultiColumn(bv->buffer(), actcell, 1);
                                updateLocal(bv, CELL);
                        }
-                       return;
+                       break;
                }
                // we have a selection so this means we just add all this
                // cells to form a multicolumn cell
@@ -2111,6 +2111,9 @@ void InsetTabular::tabularFeatures(BufferView * bv,
        case LyXTabular::LAST_ACTION:
                break;
        }
+
+       InsetTabularMailer mailer(*this);
+       mailer.updateDialog(bv);
 }
 
 
@@ -2291,8 +2294,6 @@ FuncStatus InsetTabular::getStatus(string const & what) const
        case LyXTabular::SET_MPWIDTH:
        case LyXTabular::SET_SPECIAL_COLUMN:
        case LyXTabular::SET_SPECIAL_MULTI:
-               return status.disabled(true);
-
        case LyXTabular::APPEND_ROW:
        case LyXTabular::APPEND_COLUMN:
        case LyXTabular::DELETE_ROW: