mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
* GuiView.cpp: disable symbols dialog in read-only mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30987 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
52c1d1e712
commit
e886b9feb3
@ -1210,7 +1210,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (name == "symbols") {
|
else if (name == "symbols") {
|
||||||
if (!view() || view()->cursor().inMathed())
|
if (buf->isReadonly() || !view() || view()->cursor().inMathed())
|
||||||
enable = false;
|
enable = false;
|
||||||
else {
|
else {
|
||||||
InsetCode ic = view()->cursor().inset().lyxCode();
|
InsetCode ic = view()->cursor().inset().lyxCode();
|
||||||
|
@ -203,6 +203,9 @@ What's new
|
|||||||
identical names but different extensions (bug 5646), and disambiguates
|
identical names but different extensions (bug 5646), and disambiguates
|
||||||
such files in the user interface.
|
such files in the user interface.
|
||||||
|
|
||||||
|
- Disable Symbols dialog for read-only dialog. This prevents a potential
|
||||||
|
crash.
|
||||||
|
|
||||||
- Fall back to default UI file if the specified one cannot be found
|
- Fall back to default UI file if the specified one cannot be found
|
||||||
(bug 6076).
|
(bug 6076).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user