Commit 89161331 authored by Maciej Suminski's avatar Maciej Suminski
Browse files

Fixed refreshing issues (DRC, new items after reloading netlist and probably many other places).

parent c5b65e1e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -99,11 +99,11 @@ void VIEW::Add( VIEW_ITEM* aItem )
        MarkTargetDirty( l.target );
    }

    if( aItem->viewRequiredUpdate() != VIEW_ITEM::NONE )
        MarkForUpdate( aItem );

    if( m_dynamic )
        aItem->viewAssign( this );

    if( aItem->viewRequiredUpdate() != VIEW_ITEM::NONE )
        MarkForUpdate( aItem );
}


+2 −2
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ public:
        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 ) {}

    /**
@@ -184,7 +184,7 @@ public:
    {
        ViewRelease();
        delete[] m_groups;
    };
    }

    /**
     * Function Type