summaryrefslogtreecommitdiffstats
path: root/SidebarManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SidebarManager.cpp')
-rw-r--r--SidebarManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/SidebarManager.cpp b/SidebarManager.cpp
index 42731a8..4cf0e36 100644
--- a/SidebarManager.cpp
+++ b/SidebarManager.cpp
@@ -3,7 +3,8 @@
SidebarManager::SidebarManager(Window *window)
- : sidebarToolbox(window), toolAddRect(&window->getEditManager()), toolAddPolygon(&window->getEditManager())
+ : sidebarToolbox(window), toolGrab(&window->getEditManager()),
+ toolAddRect(&window->getEditManager()), toolAddPolygon(&window->getEditManager())
{
this->window = window;
activeSidebar = NULL;
@@ -27,6 +28,7 @@ SidebarManager::SidebarManager(Window *window)
viewport = gtk_viewport_new(NULL, NULL);
gtk_container_add(GTK_CONTAINER(scrolledWindow), viewport);
+ sidebarToolbox.addTool(&toolGrab);
sidebarToolbox.addTool(&toolAddRect);
sidebarToolbox.addTool(&toolAddPolygon);