diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 1b243e4fb9a506764cf0b397f417d04059ed6742..7b75b2b80755989bb1cf3ac00a8ddbefec984f14 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -906,7 +906,7 @@ bool TextTool::root_handler(GdkEvent* event) { } SPText* text_element = dynamic_cast(text); - if (text_element && (text_element->has_shape_inside() /*|| text_element->has_inline_size()*/)) { + if (text_element && (text_element->has_shape_inside() || text_element->has_inline_size())) { // Handle new line like any other character. this->text_sel_start = this->text_sel_end = sp_te_insert(this->text, this->text_sel_start, "\n"); } else {