From 0d90afa292d7d7e3ab59a6e1fcbcaa44272b2b1b Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 24 Oct 2007 23:19:48 +0000 Subject: Fix bug [ 1818794 ] Showing grid on opening svg + some bits of code to do on-canvas path parameter editing LPE. (bzr r3957) --- src/live_effects/parameter/path.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/live_effects/parameter/path.cpp') diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 15ba663be..db1064511 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -25,7 +25,7 @@ #include "verbs.h" #include "document.h" -#define LPEPATHPARAM_DEBUG +// needed for on-canvas editting: #include "tools-switch.h" #include "shape-editor.h" #include "node-context.h" @@ -110,9 +110,6 @@ PathParam::param_getWidget() static_cast(_widget)->pack_start(*pButton, true, true); _tooltips->set_tip(*pButton, _("Edit on-canvas")); edit_button = pButton; -#ifndef LPEPATHPARAM_DEBUG - edit_button->set_sensitive(false); -#endif pIcon = Gtk::manage( sp_icon_get_icon( GTK_STOCK_PASTE, Inkscape::ICON_SIZE_BUTTON) ); pButton = Gtk::manage(new Gtk::Button()); -- cgit v1.2.3