Changeset 3362

Show
Ignore:
Timestamp:
05/14/08 23:25:48 (2 months ago)
Author:
aaronr
Message:

Small change to get the dirty flag showing correctly on the title bar.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/opus_gui/config/xmlmodelview/opusdatamodel.py

    r3357 r3362  
    270270    def markAsDirty(self): 
    271271        if self.dirty == False: 
    272             wintitle = self.parentObj.windowTitle().replace(" - ", " - *") 
     272            wintitle = self.parentObj.windowTitle().replace(" - ", " -*") 
    273273            self.parentObj.setWindowTitle(wintitle) 
    274274        self.dirty = True 
     
    276276    def markAsClean(self): 
    277277        if self.dirty == True: 
    278             wintitle = self.parentObj.windowTitle().replace("*", "") 
     278            wintitle = self.parentObj.windowTitle().replace("*", " ") 
    279279            self.parentObj.setWindowTitle(wintitle) 
    280280        self.dirty = False