mirror of https://gitlab.com/pamhyr/pamhyr2
18 lines
362 B
Python
18 lines
362 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
class SavedStatus(object):
|
|
def __init__(self):
|
|
super(SavedStatus, self).__init__()
|
|
self._saved = True
|
|
|
|
def is_saved(self):
|
|
return self._saved
|
|
|
|
def save(self):
|
|
# print(" * save")
|
|
self._saved = True
|
|
|
|
def modified(self):
|
|
# print(" * modified ...")
|
|
self._saved = False
|