]> git.lyx.org Git - features.git/blobdiff - src/insets/insetcommand.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / insets / insetcommand.C
index 40fde7b7fc81840200fab1ea004a36db611fd70b..77a357b05eec3321777c47dfed2bf7bf1fa9bed6 100644 (file)
@@ -19,7 +19,7 @@
 #include "lyxlex.h"
 #include "metricsinfo.h"
 
-#include "support/std_sstream.h"
+#include <sstream>
 
 
 using std::string;
@@ -101,10 +101,14 @@ int InsetCommand::docbook(Buffer const &, ostream &,
 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);