mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix an assertion with Inset::buffer():
The "character" dialog is only useful in texted. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30810 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
712b0b29ac
commit
a9b2b7f55d
@ -1278,7 +1278,7 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
||||
enable = buf->isExportable("dvi")
|
||||
&& lyxrc.print_command != "none";
|
||||
else if (name == "character") {
|
||||
if (!view())
|
||||
if (!view() || !view()->cursor().inTexted())
|
||||
enable = false;
|
||||
else {
|
||||
// FIXME we should consider passthru
|
||||
|
Loading…
Reference in New Issue
Block a user