Fixes missing code dealing with type=="text" in toolTypeFromString (closes #1961)

presentation
Luca Citi 6 years ago committed by Fabian Keßler
parent cdab194d44
commit 5334f1e553
  1. 3
      src/control/ToolEnums.cpp

@ -144,6 +144,9 @@ auto toolTypeFromString(const string& type) -> ToolType {
if (type == "hilighter") {
return TOOL_HILIGHTER;
}
if (type == "text") {
return TOOL_TEXT;
}
if (type == "image") {
return TOOL_IMAGE;
}

Loading…
Cancel
Save