mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
GuiTabular.cpp: backport fix for #3517
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36801 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f3cb4911ab
commit
e4bb80965a
@ -739,8 +739,10 @@ void GuiTabular::updateContents()
|
||||
lengthToWidgets(widthED, widthUnit, colwidth, default_unit);
|
||||
}
|
||||
|
||||
widthED->setEnabled(!isReadonly);
|
||||
widthUnit->setEnabled(!isReadonly);
|
||||
// if there is a LaTeX argument, the width and alignment will be overwritten
|
||||
// therefore disable them in this case
|
||||
widthED->setEnabled(!isReadonly && specialAlignmentED->text().isEmpty());
|
||||
widthUnit->setEnabled(!isReadonly && specialAlignmentED->text().isEmpty());
|
||||
|
||||
hAlignCB->clear();
|
||||
hAlignCB->addItem(qt_("Left"));
|
||||
@ -791,8 +793,9 @@ void GuiTabular::updateContents()
|
||||
valign = 0;
|
||||
vAlignCB->setCurrentIndex(valign);
|
||||
|
||||
hAlignCB->setEnabled(true);
|
||||
vAlignCB->setEnabled(!pwidth.zero());
|
||||
hAlignCB->setEnabled(specialAlignmentED->text().isEmpty());
|
||||
vAlignCB->setEnabled(!pwidth.zero()
|
||||
&& specialAlignmentED->text().isEmpty());
|
||||
|
||||
if (!tabular_.is_long_tabular) {
|
||||
headerStatusCB->setChecked(false);
|
||||
|
12
status.16x
12
status.16x
@ -99,12 +99,16 @@ What's new
|
||||
- Fix the painting of non-InsetText insets with a transparent
|
||||
background as well as the description of an InsetCaption (bug 4889).
|
||||
|
||||
- Fix unexpected behavior when inserting big math delimiters around a matrix
|
||||
(bug 7088).
|
||||
- Fix unexpected behavior when inserting big math delimiters around a
|
||||
matrix (bug 7088).
|
||||
|
||||
- Fix save of personal dictionary path to preferences. (bug 6688)
|
||||
- Fix save of personal dictionary path to preferences (bug 6688).
|
||||
|
||||
- Fix unexpected behavior of some "insert math" menu/toolbar entries. (bug 6709)
|
||||
- Fix unexpected behavior of some "insert math" menu/toolbar entries
|
||||
(bug 6709).
|
||||
|
||||
- In the table dialog, disable the column width and column alignment when
|
||||
there is a LaTeX argument (bug 3517).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
Loading…
Reference in New Issue
Block a user