* 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
This commit is contained in:
Jürgen Spitzmüller 2011-01-30 11:35:58 +00:00
parent 6f5ddb00e0
commit 11ea521aa2
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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).