summaryrefslogtreecommitdiffstats
path: root/SidebarToolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'SidebarToolbox.h')
-rw-r--r--SidebarToolbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/SidebarToolbox.h b/SidebarToolbox.h
index 961df24..1be8b6a 100644
--- a/SidebarToolbox.h
+++ b/SidebarToolbox.h
@@ -47,6 +47,10 @@ class SidebarToolbox : Sidebar {
return widget;
}
+ void resetTool() {
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(buttons[&toolSelector]), TRUE);
+ }
+
Tool& getActiveTool() {
return *activeTool;
}