Fixed refreshing issues (DRC, new items after reloading netlist and probably many other places).
This commit is contained in:
parent
c5b65e1ec4
commit
89161331e4
|
@ -99,11 +99,11 @@ void VIEW::Add( VIEW_ITEM* aItem )
|
||||||
MarkTargetDirty( l.target );
|
MarkTargetDirty( l.target );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( aItem->viewRequiredUpdate() != VIEW_ITEM::NONE )
|
|
||||||
MarkForUpdate( aItem );
|
|
||||||
|
|
||||||
if( m_dynamic )
|
if( m_dynamic )
|
||||||
aItem->viewAssign( this );
|
aItem->viewAssign( this );
|
||||||
|
|
||||||
|
if( aItem->viewRequiredUpdate() != VIEW_ITEM::NONE )
|
||||||
|
MarkForUpdate( aItem );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ public:
|
||||||
ALL = 0xff
|
ALL = 0xff
|
||||||
};
|
};
|
||||||
|
|
||||||
VIEW_ITEM() : m_view( NULL ), m_visible( true ), m_requiredUpdate( NONE ),
|
VIEW_ITEM() : m_view( NULL ), m_visible( true ), m_requiredUpdate( ALL ),
|
||||||
m_groups( NULL ), m_groupsSize( 0 ) {}
|
m_groups( NULL ), m_groupsSize( 0 ) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -184,7 +184,7 @@ public:
|
||||||
{
|
{
|
||||||
ViewRelease();
|
ViewRelease();
|
||||||
delete[] m_groups;
|
delete[] m_groups;
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function Type
|
* Function Type
|
||||||
|
|
Loading…
Reference in New Issue