aboutsummaryrefslogtreecommitdiff
path: root/src/ToolFactory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolFactory.cc')
-rw-r--r--src/ToolFactory.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ToolFactory.cc b/src/ToolFactory.cc
index 4a932ea..d1d3581 100644
--- a/src/ToolFactory.cc
+++ b/src/ToolFactory.cc
@@ -119,6 +119,7 @@ ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow &
119 if (label.empty()) 119 if (label.empty())
120 return 0; 120 return 0;
121 FbTk::TextButton *btn = new FbTk::TextButton(parent, m_button_theme->font(), label); 121 FbTk::TextButton *btn = new FbTk::TextButton(parent, m_button_theme->font(), label);
122 screen().mapToolButton(name, btn);
122 123
123 std::string cmd_str = FbTk::Resource<std::string> 124 std::string cmd_str = FbTk::Resource<std::string>
124 (m_screen.resourceManager(), "", 125 (m_screen.resourceManager(), "",