Changeset 3355
- Timestamp:
- 05/14/08 22:10:22 (2 months ago)
- Location:
- trunk/opus_gui/config/datamanager
- Files:
-
- 2 modified
-
opusxmlaction_data.py (modified) (5 diffs)
-
opusxmlaction_datadb.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/opus_gui/config/datamanager/opusxmlaction_data.py
r3158 r3355 141 141 self.currentIndex, 142 142 newNode) 143 self.currentIndex.model().markAsDirty()144 143 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 145 144 … … 154 153 #print "Move Up Pressed" 155 154 self.currentIndex.model().moveUp(self.currentIndex) 156 self.currentIndex.model().markAsDirty()157 155 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 158 156 … … 160 158 #print "Move Down Pressed" 161 159 self.currentIndex.model().moveDown(self.currentIndex) 162 self.currentIndex.model().markAsDirty()163 160 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 164 161 … … 271 268 self.currentIndex.model().removeRow(self.currentIndex.internalPointer().row(), 272 269 self.currentIndex.model().parent(self.currentIndex)) 273 self.currentIndex.model().markAsDirty()274 270 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 275 271 … … 280 276 # Now up the tree, only hitting parent nodes and not sibblings 281 277 self.currentIndex.model().stripAttributeUp('inherited',thisNode) 282 self.currentIndex.model().markAsDirty()283 278 # Finally we refresh the tree to indicate that there has been a change 284 279 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) -
trunk/opus_gui/config/datamanager/opusxmlaction_datadb.py
r3158 r3355 95 95 parent, 96 96 clone) 97 self.currentIndex.model().markAsDirty()98 97 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 99 98 … … 105 104 self.currentIndex.model().removeRow(self.currentIndex.internalPointer().row(), 106 105 self.currentIndex.model().parent(self.currentIndex)) 107 self.currentIndex.model().markAsDirty()108 106 self.currentIndex.model().emit(SIGNAL("layoutChanged()")) 109 107 … … 124 122 # Now up the tree, only hitting parent nodes and not sibblings 125 123 self.currentIndex.model().stripAttributeUp('inherited',thisNode) 126 self.currentIndex.model().markAsDirty()127 124 # Finally we refresh the tree to indicate that there has been a change 128 125 self.currentIndex.model().emit(SIGNAL("layoutChanged()"))
