diff options
author | neoraider <devnull@localhost> | 2007-12-05 19:34:01 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-12-05 19:34:01 +0100 |
commit | 19690f030457dadf4976f7403c315b3bbb4a39b8 (patch) | |
tree | 29077314f77be6b4371b0fdeeb6bed142a126b7e /SidebarManager.cpp | |
parent | d389dce3ef4f1342a2f91926a9dcd02b452c6045 (diff) | |
download | zoomedit-19690f030457dadf4976f7403c315b3bbb4a39b8.tar zoomedit-19690f030457dadf4976f7403c315b3bbb4a39b8.zip |
zoomedit: Use toolbox for polygon adder.
Diffstat (limited to 'SidebarManager.cpp')
-rw-r--r-- | SidebarManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |