* \li Origin: sanda, 6 May 2008
* \endvar
*/
- { LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify", ReadOnly, Edit },
+ { LFUN_GRAPHICS_GROUPS_UNIFY, "graphics-groups-unify", Argument, Edit },
/*!
* \var lyx::FuncCode lyx::LFUN_SET_GRAPHICS_GROUP
* \li Action: Set the group for the graphics inset on the cursor position.
* \li Origin: sanda, 6 May 2008
* \endvar
*/
- { LFUN_SET_GRAPHICS_GROUP, "set-graphics-group", ReadOnly, Edit },
+ { LFUN_SET_GRAPHICS_GROUP, "set-graphics-group", Noop, Edit },
/*!
* \var lyx::FuncCode lyx::LFUN_FINISHED_FORWARD
case LFUN_GRAPHICS_GROUPS_UNIFY: {
LASSERT(lyx_view_, /**/);
- if (argument.empty() || !lyx_view_->buffer())
+ if (argument.empty())
break;
//view()->cursor().recordUndoFullDocument(); let inset-apply do that job
graphics::unifyGraphicsGroups(*lyx_view_->buffer(), argument);
// once the insets refactoring is done.
case LFUN_NOTES_MUTATE: {
LASSERT(lyx_view_ && lyx_view_->view(), /**/);
- if (argument.empty() || !lyx_view_->buffer())
+ if (argument.empty())
break;
view()->cursor().recordUndoFullDocument();