diff --git a/private/toolbox.cpp b/private/toolbox.cpp index a3cd6d234..cf09af5b7 100644 --- a/private/toolbox.cpp +++ b/private/toolbox.cpp @@ -125,7 +125,7 @@ void ToolBox::addTool(QAction *action) //make enabled/disabled tools appear/disappear instantly connect(tool, SIGNAL(changed()), this, SLOT(updateToolBox())); - connect(tool, SIGNAL(triggered(bool)), this, SLOT(toolTriggered(bool))); + connect(action, SIGNAL(triggered(bool)), this, SLOT(toolTriggered(bool))); //kDebug() << "added tool" << action->text() << (QGraphicsItem*)tool; }