Skip to content
Snippets Groups Projects
Commit f1a2537f authored by Franck Dary's avatar Franck Dary
Browse files

Removed check for existing line in addHypothesis because it conflicted with transition splitword

parent 5f5386de
No related branches found
No related tags found
No related merge requests found
......@@ -127,9 +127,9 @@ Action Action::addHypothesis(const std::string & colName, std::size_t lineIndex,
config.getLastNotEmpty(colName, lineIndex) = "";
};
auto appliable = [colName, lineIndex](const Config & config, const Action &)
auto appliable = [](const Config &, const Action &)
{
return config.has(colName, lineIndex, 0);
return true;
};
return {Type::Write, apply, undo, appliable};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment