void GuiInfo::applyView()
{
InsetInfo const * ii = dynamic_cast<InsetInfo const *>(inset(INFO_CODE));
- if (!ii) {
+ if (!ii)
return;
- }
dialogToParams();
docstring const argument = qstring_to_ucs4(type_ + ' ' + name_);
if (!ii->validate(argument))
return;
- dispatch(FuncRequest(LFUN_INSET_MODIFY, argument));
+ dispatch(FuncRequest(LFUN_NEXT_INSET_MODIFY, argument));
// FIXME: update the inset contents
bufferview()->buffer().updateLabels();
BufferView * bv = const_cast<BufferView *>(bufferview());
- bv->updateMetrics();
- bv->buffer().changed();
+ bv->buffer().changed(true);
bv->buffer().markDirty();
}