diff --git a/src/insets/InsetCommand.cpp b/src/insets/InsetCommand.cpp index 4b2830f625..bbe8184133 100644 --- a/src/insets/InsetCommand.cpp +++ b/src/insets/InsetCommand.cpp @@ -194,6 +194,8 @@ bool InsetCommand::string2params(string const & name, string const & in, InsetCommandParams & params) { params.clear(); + if (in.empty()) + return false; istringstream data(in); Lexer lex; lex.setStream(data);