fix immediate setting of tools

This commit is contained in:
Marco Martin 2011-11-15 15:54:55 +01:00
parent 4a10379637
commit f8ed323fab

View File

@ -54,8 +54,10 @@ Item{
toolBar.tools = tools
}
Connections {
id: connection
target: toolBar
onToolsChanged: {
function internalToolsChanged()
{
var newContainer
var oldContainer
if (containerA.current) {
@ -116,6 +118,8 @@ Item{
newContainer.opacity = 1
oldContainer.opacity = 0
}
onToolsChanged: connection.internalToolsChanged()
Component.onCompleted: connection.internalToolsChanged()
}
PlasmaCore.FrameSvgItem {