From 11ea521aa26f347b544ac4bb2693aced7126d350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 30 Jan 2011 11:35:58 +0000 Subject: [PATCH] * GuiTabular.cpp: Fix regression introduced in r30650 (LyX 1.6.4, not in trunk): The column width field was not cleared for non-fixed columns, leading to unwanted width applications. I wonder why this bug was never reported. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37371 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiTabular.cpp | 3 ++- status.16x | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 1665ad00c2..9e45171a84 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -737,7 +737,8 @@ void GuiTabular::updateContents() if (!pwidth.zero()) { colwidth = pwidth.asString(); lengthToWidgets(widthED, widthUnit, colwidth, default_unit); - } + } else + widthED->clear(); // if there is a LaTeX argument, the width and alignment will be overwritten // therefore disable them in this case diff --git a/status.16x b/status.16x index 3adb224139..9b9ce37d93 100644 --- a/status.16x +++ b/status.16x @@ -130,6 +130,9 @@ What's new - Do not allow to put the cursor in an InsetInfo. Instead, a context menu item is added to facilitate copying of the contents (bug 5446). + +- Clear column width field in the tabular dialog when moving in a column + without a fixed width. - Fix the display of the horizontal alignment of table cells (bug 7007).