mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug #6041: "tabular-feature align-" in a math-matrix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30363 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
db1a03d598
commit
0b219d2541
@ -1415,17 +1415,16 @@ bool InsetMathGrid::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
|| (s == "valign-top" && va == 't')
|
||||
|| (s == "valign-bottom" && va == 'b')
|
||||
|| (s == "valign-middle" && va == 'm'));
|
||||
}
|
||||
if (s == "append-row" || s == "delete-row" ||
|
||||
} else if (s == "append-row" || s == "delete-row" ||
|
||||
s == "copy-row" || s == "swap-row" ||
|
||||
s == "add-hline-above" || s == "add-hline-below" ||
|
||||
s == "delete-hline-above" || s == "delete-hline-below" ||
|
||||
s == "append-column" || s == "delete-column" ||
|
||||
s == "copy-column" || s == "swap-column" ||
|
||||
s == "add-vline-left" || s == "add-vline-right" ||
|
||||
s == "delete-vline-left" || s == "delete-vline-right")
|
||||
s == "delete-vline-left" || s == "delete-vline-right") {
|
||||
status.setEnabled(true);
|
||||
else {
|
||||
} else {
|
||||
status.setEnabled(false);
|
||||
status.message(bformat(
|
||||
from_utf8(N_("Unknown tabular feature '%1$s'")), lyx::from_ascii(s)));
|
||||
|
Loading…
Reference in New Issue
Block a user