From 19690f030457dadf4976f7403c315b3bbb4a39b8 Mon Sep 17 00:00:00 2001 From: neoraider Date: Wed, 5 Dec 2007 18:34:01 +0000 Subject: zoomedit: Use toolbox for polygon adder. --- SidebarManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'SidebarManager.cpp') diff --git a/SidebarManager.cpp b/SidebarManager.cpp index a0bfb81..3e04016 100644 --- a/SidebarManager.cpp +++ b/SidebarManager.cpp @@ -2,7 +2,7 @@ SidebarManager::SidebarManager(EditManager *editor) - : sidebarView(editor), sidebarAdd(editor), tool(editor) + : sidebarToolbox(editor), sidebarView(editor), sidebarAdd(editor), toolAddPolygon(editor) { this->editor = editor; activeSidebar = NULL; @@ -21,7 +21,7 @@ SidebarManager::SidebarManager(EditManager *editor) gtk_container_add(GTK_CONTAINER(scrolledWindow), viewport); gtk_viewport_set_shadow_type(GTK_VIEWPORT(viewport), GTK_SHADOW_NONE); - sidebarToolbox.addTool(&tool); + sidebarToolbox.addTool(&toolAddPolygon); gtk_widget_show(sidebar); } -- cgit v1.2.3