summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-tool.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-16 16:33:50 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-09-16 16:33:50 +0000
commitba1e44ef0524586293f218e208680f7cc1cbe39a (patch)
treead5b7022e8160242e324409dfba5208a13e94363 /src/ui/tools/text-tool.cpp
parentAvoid crash when clipboard is pastred twice with the all content of the text ... (diff)
downloadinkscape-ba1e44ef0524586293f218e208680f7cc1cbe39a.tar.gz
inkscape-ba1e44ef0524586293f218e208680f7cc1cbe39a.zip
Realy fix crash pasting and speed improvements
Diffstat (limited to 'src/ui/tools/text-tool.cpp')
-rw-r--r--src/ui/tools/text-tool.cpp4
1 files changed, 0 insertions, 4 deletions
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!