#include "lyxlex.h"
#include "metricsinfo.h"
-#include "support/std_sstream.h"
+#include <sstream>
using std::string;
void InsetCommand::priv_dispatch(LCursor & cur, FuncRequest & cmd)
{
switch (cmd.action) {
+ case LFUN_INSET_REFRESH:
+ set_label_ = false;
+ break;
+
case LFUN_INSET_MODIFY: {
InsetCommandParams p;
InsetCommandMailer::string2params(mailer_name_, cmd.argument, p);
- if (p.getCmdName().empty()) {
+ if (p.getCmdName().empty()) {
cur.undispatched();
} else {
setParams(p);