mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
fix multirow/column logic in table dialog
GuiTabular.cpp: a cell can either be a multicolumn or multirow, not both the same time, this is already respected by the toolbar and context menu, only the dialog allowed to set this although this was correctly never applied should also go to branch
This commit is contained in:
parent
6f58137318
commit
6f157533a1
@ -311,8 +311,10 @@ void GuiTabular::checkEnabled()
|
||||
captionStatusCB->setEnabled(funcEnabled(Tabular::TOGGLE_LTCAPTION)
|
||||
&& longtabular);
|
||||
|
||||
multicolumnCB->setEnabled(funcEnabled(Tabular::MULTICOLUMN) && !dalign);
|
||||
multirowCB->setEnabled(funcEnabled(Tabular::MULTIROW) && !dalign);
|
||||
multicolumnCB->setEnabled(funcEnabled(Tabular::MULTICOLUMN)
|
||||
&& !dalign && !multirowCB->isChecked());
|
||||
multirowCB->setEnabled(funcEnabled(Tabular::MULTIROW)
|
||||
&& !dalign && !multicolumnCB->isChecked());
|
||||
bool const enable_mr = multirowCB->isChecked();
|
||||
multirowOffsetLA->setEnabled(enable_mr);
|
||||
multirowOffsetED->setEnabled(enable_mr);
|
||||
|
Loading…
Reference in New Issue
Block a user