]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetVSpace.cpp
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetVSpace.cpp
index 9d0a766651741ccdb3b784d80e2c20fbf5433807..0b782f00b859c36eb154623c8905d9e3adbcc683 100644 (file)
 #include "FuncRequest.h"
 #include "FuncStatus.h"
 #include "Lexer.h"
-#include "Text.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
+#include "Text.h"
 
-#include "support/lassert.h"
 #include "support/debug.h"
 #include "support/gettext.h"
+#include "support/lassert.h"
 
 #include "frontends/Application.h"
 #include "frontends/FontMetrics.h"
@@ -89,9 +89,8 @@ bool InsetVSpace::getStatus(Cursor & cur, FuncRequest const & cmd,
                        VSpace vspace;
                        InsetVSpace::string2params(to_utf8(cmd.argument()), vspace);
                        status.setOnOff(vspace == space_);
-               } else {
-                       status.enabled(true);
-               }
+               } 
+               status.setEnabled(true);
                return true;
        default:
                return Inset::getStatus(cur, cmd, status);