mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Don't disable apply button if one (or more) of vertical alignment, rotation,
or long table settings are changed. Fixes bug #7308. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37704 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6db49535bf
commit
4c44ddad01
@ -4323,8 +4323,10 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
return true;
|
||||
|
||||
case Tabular::SET_TABULAR_WIDTH:
|
||||
status.setEnabled(!tabular.rotate && !tabular.is_long_tabular
|
||||
&& tabular.tabular_valignment == Tabular::LYX_VALIGN_MIDDLE);
|
||||
status.setEnabled(tabular.tabular_width.zero()
|
||||
|| (!tabular.rotate && !tabular.is_long_tabular
|
||||
&& tabular.tabular_valignment ==
|
||||
Tabular::LYX_VALIGN_MIDDLE));
|
||||
break;
|
||||
|
||||
case Tabular::SET_DECIMAL_POINT:
|
||||
|
Loading…
Reference in New Issue
Block a user