mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Disable append-column with gathered
Fixes #11812
(cherry picked from commit ed137ee435
)
This commit is contained in:
parent
ee7c607b5e
commit
3d0dd488c3
@ -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'")),
|
||||||
|
@ -88,6 +88,9 @@ What's new
|
|||||||
|
|
||||||
- Avoid bleeding of inset background outside of inset (bug 11786).
|
- Avoid bleeding of inset background outside of inset (bug 11786).
|
||||||
|
|
||||||
|
- Disallow adding columns with gathered environment as this is not
|
||||||
|
supported (bug 11812).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user