Changeset 3355

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

Removing more calls to markAsDirty that are no longer needed

Location:
trunk/opus_gui/config/datamanager
Files:
2 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()")) 
  • trunk/opus_gui/config/datamanager/opusxmlaction_datadb.py

    r3158 r3355  
    9595                                            parent, 
    9696                                            clone) 
    97         self.currentIndex.model().markAsDirty() 
    9897        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    9998 
     
    105104        self.currentIndex.model().removeRow(self.currentIndex.internalPointer().row(), 
    106105                                            self.currentIndex.model().parent(self.currentIndex)) 
    107         self.currentIndex.model().markAsDirty() 
    108106        self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 
    109107 
     
    124122        # Now up the tree, only hitting parent nodes and not sibblings 
    125123        self.currentIndex.model().stripAttributeUp('inherited',thisNode) 
    126         self.currentIndex.model().markAsDirty() 
    127124        # Finally we refresh the tree to indicate that there has been a change 
    128125        self.currentIndex.model().emit(SIGNAL("layoutChanged()"))