]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
revert r30531, which causes a crash when copying an inset.
[lyx.git] / src / insets / InsetTabular.cpp
index aa9ceb85a84cdff06c52a47f5d8d751f7d907272..e3611d638b1c2772d1a43e84f640f6fefc1ab6f7 100644 (file)
@@ -11,6 +11,7 @@
  * \author John Levon
  * \author André Pönitz
  * \author Jürgen Vigna
+ * \author Uwe Stöhr
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -2310,7 +2311,7 @@ int Tabular::TeXRow(odocstream & os, row_type i,
        if (row_info[i].caption && !endfirsthead.empty && !haveLTFirstHead())
                // if no first header and no empty first header is used,
                // the caption needs to be terminated by \endfirsthead
-               // (bug 6056)
+               // (bug 6057)
                os << "\\endfirsthead";
        else
                os << "\\tabularnewline";
@@ -3294,12 +3295,6 @@ void InsetTabular::drawCellLines(Painter & pain, int x, int y,
 }
 
 
-docstring InsetTabular::editMessage() const
-{
-       return _("Opened table");
-}
-
-
 void InsetTabular::edit(Cursor & cur, bool front, EntryDirection)
 {
        //lyxerr << "InsetTabular::edit: " << this << endl;
@@ -3709,8 +3704,7 @@ void InsetTabular::doDispatch(Cursor & cur, FuncRequest & cmd)
                if (cur.selIsMultiCell()) {
                        cur.recordUndoInset(DELETE_UNDO);
                        cutSelection(cur);
-               }
-               else
+               } else
                        cell(cur.idx())->dispatch(cur, cmd);
                break;