PEATDB/PEATApp.py
def updateView(self):
        """Update the table if no changes pending"""
        if self.DB==None:
            return
        if self.DB.isChanged() == True:
            tkMessageBox.showinfo('Pending changes',
                                   'You have pending changes and should save these first.',
                                   parent=self.master)
            return
        self.DB.connection.sync()
        self.updateTable()
        self.updateStatusPane()
        self.updateChangelog()
        return
Update the table if no changes pending
Update the table if no changes pending
Update the table if no changes pending
def updateView(self):
        if self.DB==None:
            return
        if self.DB.isChanged() == True:
            tkMessageBox.showinfo('Pending changes',
                                   'You have pending changes and should save these first.',
                                   parent=self.master)
            return
        self.DB.connection.sync()
        self.updateTable()
        self.updateStatusPane()
        self.updateChangelog()
        return
def updateView ( self ) : if self . DB == None : return if self . DB . isChanged ( ) == True : tkMessageBox . showinfo ( 'Pending changes' , 'You have pending changes and should save these first.' , parent = self . master ) return self . DB . connection . sync ( ) self . updateTable ( ) self . updateStatusPane ( ) self . updateChangelog ( ) return
Update the table if no changes pending
Update the table if no changes pending
"""Update the table if no changes pending"""
self