diff options
Diffstat (limited to 'SidebarToolbox.h')
-rw-r--r-- | SidebarToolbox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SidebarToolbox.h b/SidebarToolbox.h index 8e8a1f2..961df24 100644 --- a/SidebarToolbox.h +++ b/SidebarToolbox.h @@ -47,8 +47,8 @@ class SidebarToolbox : Sidebar { return widget; } - Tool *getActiveTool() { - return activeTool; + Tool& getActiveTool() { + return *activeTool; } void addTool(Tool *tool); |