summaryrefslogtreecommitdiffstats
path: root/src/ui/clipboard.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-28 17:13:11 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-29 22:44:33 +0000
commit156f9500e37cd60acef6c0316080f7d085a58f1a (patch)
treee16d516ffe26ddbb6061f5bf6033fc08522d5a14 /src/ui/clipboard.cpp
parentComment dead code not used currently (diff)
downloadinkscape-156f9500e37cd60acef6c0316080f7d085a58f1a.tar.gz
inkscape-156f9500e37cd60acef6c0316080f7d085a58f1a.zip
fix compiling issues
Diffstat (limited to 'src/ui/clipboard.cpp')
-rw-r--r--src/ui/clipboard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index bdc202588..c9910498e 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -1076,6 +1076,8 @@ bool ClipboardManagerImpl::_pasteText(SPDesktop *desktop)
// if the text editing tool is active, paste the text into the active text object
if (tools_isactive(desktop, TOOLS_TEXT)) {
return Inkscape::UI::Tools::sp_text_paste_inline(desktop->event_context);
+ }
+ return false;
/* return false;
//apply the saved style to pasted text
Glib::RefPtr<Gtk::Clipboard> refClipboard = Gtk::Clipboard::get();