Show
Ignore:
Timestamp:
05/14/08 22:10:22 (3 months ago)
Author:
aaronr
Message:

Removing more calls to markAsDirty that are no longer needed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/opus_gui/config/datamanager/opusxmlaction_data.py

    r3158 r3355  
    141141                                            self.currentIndex, 
    142142                                            newNode) 
    143         self.currentIndex.model().markAsDirty() 
    144143        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    145144 
     
    154153        #print "Move Up Pressed" 
    155154        self.currentIndex.model().moveUp(self.currentIndex) 
    156         self.currentIndex.model().markAsDirty() 
    157155        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    158156 
     
    160158        #print "Move Down Pressed" 
    161159        self.currentIndex.model().moveDown(self.currentIndex) 
    162         self.currentIndex.model().markAsDirty() 
    163160        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    164161 
     
    271268        self.currentIndex.model().removeRow(self.currentIndex.internalPointer().row(), 
    272269                                            self.currentIndex.model().parent(self.currentIndex)) 
    273         self.currentIndex.model().markAsDirty() 
    274270        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    275271 
     
    280276        # Now up the tree, only hitting parent nodes and not sibblings 
    281277        self.currentIndex.model().stripAttributeUp('inherited',thisNode) 
    282         self.currentIndex.model().markAsDirty() 
    283278        # Finally we refresh the tree to indicate that there has been a change 
    284279        self.currentIndex.model().emit(SIGNAL("layoutChanged()"))