mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
InsetMathSubstack.cpp: fix #2498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36567 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d80053cda8
commit
5524485856
@ -78,8 +78,18 @@ bool InsetMathSubstack::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
flag.setEnabled(false);
|
||||
return true;
|
||||
}
|
||||
// in contrary to \subaray, the columns in \substack
|
||||
// are always centered and this cannot be changed
|
||||
if (s == "align-left" || s == "align-right") {
|
||||
flag.message(bformat(
|
||||
from_utf8(N_("Can't change horizontal alignment in '%1$s'")),
|
||||
from_utf8(name)));
|
||||
flag.setEnabled(false);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user