Skip to content

Commit

Permalink
Fix error when dragging elements in the Object Tree
Browse files Browse the repository at this point in the history
Fixes #259.
  • Loading branch information
jhasse committed Feb 8, 2017
1 parent d0f3342 commit 2064198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rad/appdata.cpp
Expand Up @@ -2774,19 +2774,19 @@ void ApplicationData::NotifyObjectSelected( PObjectBase obj, bool force )
wxFBObjectEvent event( wxEVT_FB_OBJECT_SELECTED, obj );
if( force ) event.SetString( wxT("force") );

NotifyEvent( event, true );
NotifyEvent( event, false );
}

void ApplicationData::NotifyObjectCreated( PObjectBase obj )
{
wxFBObjectEvent event( wxEVT_FB_OBJECT_CREATED, obj );
NotifyEvent( event, true );
NotifyEvent( event, false );
}

void ApplicationData::NotifyObjectRemoved( PObjectBase obj )
{
wxFBObjectEvent event( wxEVT_FB_OBJECT_REMOVED, obj );
NotifyEvent( event, true );
NotifyEvent( event, false );
}

void ApplicationData::NotifyPropertyModified( PProperty prop )
Expand Down

0 comments on commit 2064198

Please sign in to comment.