mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +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();
|
||||||
|
@ -202,6 +202,9 @@ What's new
|
|||||||
(e.g. ".lyx15"). This avoids a crash when loading two files with
|
(e.g. ".lyx15"). This avoids a crash when loading two files with
|
||||||
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