def onModify(): if snapshots and snapshots.restoringInProgress(): return global modified global name modified=True if snapshots: updateSnapshotState()
def onOpen(path): global name global description global filePath if snapshots and not snapshots.restoringInProgress(): updateSnapshotState() gf.clear() printAll()
def onOpen(): global name global description global filePath if snapshots and not snapshots.restoringInProgress(): updateSnapshotState() gf.clear() printAll()
def onModify(): if snapshots and snapshots.restoringInProgress(): gf.clear() printAll() return global modified global name modified = True if snapshots: updateSnapshotState()
def onNew(): if snapshots and snapshots.restoringInProgress(): return global name global description global filePath global modified name=None description=None filePath=None modified=False if snapshots: updateSnapshotState()
def onNew(): if snapshots and snapshots.restoringInProgress(): return global name global description global filePath global modified name = None description = None filePath = None modified = False if snapshots: updateSnapshotState()