Commit 83f62440 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - fixed startup crash in caused by bug in Properties.

parent 02f7ed2f
......@@ -469,7 +469,9 @@ WPropertyVariable< T >::WPropertyVariable( std::string name, std::string descrip
m_updateCondition->add( WFlag< T >::getValueChangeCondition() );
// set custom notifier
m_notifierConnection = m_updateCondition->subscribeSignal( boost::bind( &WPropertyVariable< T >::propertyChangeNotifier, this ) );
m_notifierConnection = WFlag< T >::getValueChangeCondition()->subscribeSignal(
boost::bind( &WPropertyVariable< T >::propertyChangeNotifier, this )
);
signal_PropertyChange.connect( notifier );
}
......@@ -487,7 +489,9 @@ WPropertyVariable< T >::WPropertyVariable( std::string name, std::string descrip
m_updateCondition->add( WFlag< T >::getValueChangeCondition() );
// set custom notifier
m_notifierConnection = m_updateCondition->subscribeSignal( boost::bind( &WPropertyVariable< T >::propertyChangeNotifier, this ) );
m_notifierConnection = WFlag< T >::getValueChangeCondition()->subscribeSignal(
boost::bind( &WPropertyVariable< T >::propertyChangeNotifier, this )
);
signal_PropertyChange.connect( notifier );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment