mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
InsetMathSubstack.cpp: fix #2498 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37110 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2023961297
commit
3d4865722e
@ -73,6 +73,15 @@ 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;
|
||||
}
|
||||
return InsetMathGrid::getStatus(cur, cmd, flag);
|
||||
}
|
||||
default:
|
||||
|
@ -170,6 +170,9 @@ What's new
|
||||
- Fix the response of the update button of the view source window
|
||||
after reopening a file (bug 5600).
|
||||
|
||||
- Don't allow to set an alignment for rows in math substack environments
|
||||
(bug 2498).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user