mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix bug #7198: Assertion when calling inset-modify for a InsetSpace with a different argument than "space"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37032 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fbd84bc185
commit
693bdf8447
@ -169,8 +169,11 @@ bool InsetSpace::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
InsetSpaceParams params;
|
||||
string2params(to_utf8(cmd.argument()), params);
|
||||
status.setOnOff(params_.kind == params.kind);
|
||||
}
|
||||
// fall through
|
||||
status.setEnabled(true);
|
||||
} else
|
||||
status.setEnabled(false);
|
||||
return true;
|
||||
|
||||
case LFUN_INSET_DIALOG_UPDATE:
|
||||
status.setEnabled(true);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user