Commit 0e334963 authored by Jan Möbius's avatar Jan Möbius

Removed updatedObject Calls fromDatacontrol as they should be passedby core

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12409 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6a5c6014
......@@ -58,7 +58,6 @@ void DataControlPlugin::slotContextMenuTarget( ) {
return;
object->target( targetAction_->isChecked() );
emit updatedObject(objectId, UPDATE_STATE);
}
void DataControlPlugin::slotContextMenuHide( ) {
......@@ -88,7 +87,6 @@ void DataControlPlugin::slotContextMenuSource( ) {
return;
object->source( sourceAction_->isChecked() );
emit updatedObject(objectId, UPDATE_STATE);
}
void DataControlPlugin::slotContextMenuRemove( ) {
......
......@@ -415,13 +415,11 @@ void DataControlPlugin::slotDataChanged ( int _id, int _column, const QVariant&
// source
case 2:
obj->source( _value.toBool() );
emit updatedObject(_id, UPDATE_STATE);
break;
// target
case 3:
obj->target( _value.toBool() );
emit updatedObject(_id, UPDATE_STATE);
break;
default:
......@@ -683,13 +681,11 @@ void DataControlPlugin::propagateUpwards(BaseObject* _obj, int _column ){
if (_obj->source() != value){
_obj->source( value );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true;
}
if (_obj->target() != value2){
_obj->target( value2 );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true;
}
......@@ -733,13 +729,11 @@ void DataControlPlugin::propagateDownwards(BaseObject* _obj, int _column ){
if ( current->source() != _obj->source() ){
current->source( _obj->source() );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true;
}
if ( current->target() != _obj->target() ){
current->target( _obj->target() );
emit updatedObject(_obj->id(), UPDATE_STATE);
changed = true;
}
......
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