From b0dd800145ae7457b4d2a243ff9566d476f5fdbd Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 16 Jul 2005 15:33:49 +0000 Subject: [PATCH] make sure inserting a tabular invokes a dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10246 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/factory.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index cfb7428172..f87d72d142 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-16 Jean-Marc Lasgouttes + + * factory.C (createInset): fix bad logic for tabular creation + 2005-07-16 Lars Gullik Bjønnes * lyx_main.C (init): change some reLyX reference to tex2lyx diff --git a/src/factory.C b/src/factory.C index 591f8d6f04..494d66181e 100644 --- a/src/factory.C +++ b/src/factory.C @@ -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; -- 2.39.5