]> git.lyx.org Git - lyx.git/commitdiff
make sure inserting a tabular invokes a dialog
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 16 Jul 2005 15:33:49 +0000 (15:33 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 16 Jul 2005 15:33:49 +0000 (15:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10246 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/factory.C

index cfb74281727a89e90942482a3bb2a04de92bc434..f87d72d14252e2de9247cc985b0ae88a293c0a2d 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * factory.C (createInset): fix bad logic for tabular creation
+
 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * lyx_main.C (init): change some reLyX reference to tex2lyx
index 591f8d6f04da06fd0f50903e7d5e52445706ca86..494d66181eb9ac779057999154083e01b74d8ac4 100644 (file)
@@ -163,7 +163,7 @@ InsetBase * createInset(BufferView * bv, FuncRequest const & cmd)
        }
 
        case LFUN_TABULAR_INSERT: {
-               if (!cmd.argument.empty()) 
+               if (cmd.argument.empty()) 
                        return 0;
                std::istringstream ss(cmd.argument);
                int r = 0, c = 0;