mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
parent
c8ebd2117c
commit
ed137ee435
@ -116,6 +116,12 @@ bool InsetMathSplit::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
switch (cmd.action()) {
|
switch (cmd.action()) {
|
||||||
case LFUN_TABULAR_FEATURE: {
|
case LFUN_TABULAR_FEATURE: {
|
||||||
string s = cmd.getArg(0);
|
string s = cmd.getArg(0);
|
||||||
|
if (s == "append-column"
|
||||||
|
&& (name_ == "gathered" || name_ == "lgathered" || name_ == "rgathered")) {
|
||||||
|
// gathered does not support multiple columns
|
||||||
|
flag.setEnabled(false);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (s == "add-vline-left" || s == "add-vline-right") {
|
if (s == "add-vline-left" || s == "add-vline-right") {
|
||||||
flag.message(bformat(
|
flag.message(bformat(
|
||||||
from_utf8(N_("Can't add vertical grid lines in '%1$s'")),
|
from_utf8(N_("Can't add vertical grid lines in '%1$s'")),
|
||||||
|
Loading…
Reference in New Issue
Block a user