From ba1e44ef0524586293f218e208680f7cc1cbe39a Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Mon, 16 Sep 2019 18:33:50 +0200 Subject: Realy fix crash pasting and speed improvements --- src/ui/tools/text-tool.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/ui/tools/text-tool.cpp') diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 41eda88d0..333999b9f 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -1384,10 +1384,6 @@ bool sp_text_paste_inline(ToolBase *ec) _("Paste text")); return true; - } else { - // TODO: look why "wait_for_text()" sometimes return empty string - // I notice coping all text content and pasting twice - return true; //clip test is empty, so we return true to avoid further processing and crashes } } // FIXME: else create and select a new object under cursor! -- cgit v1.2.3