diff options
| author | tassaron | 2017-06-16 20:01:27 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-16 20:01:27 -0400 |
| commit | 4de39ebe0782fbd68b5fcc31e0466e76e145e712 (patch) | |
| tree | 156b0c4eafceefaf85fc8ce9178b9b9024354312 /mainwindow.py | |
| parent | 4b1058781d39ea3e43197c559dd3631bae42b66b (diff) | |
color component size, position, and gradient options
Diffstat (limited to 'mainwindow.py')
| -rw-r--r-- | mainwindow.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mainwindow.py b/mainwindow.py index fb9ebfd..0d6b130 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -301,7 +301,9 @@ class MainWindow(QtCore.QObject): def autosaveExists(self): if self.currentProject and os.path.exists(self.autosavePath) \ and filecmp.cmp(self.autosavePath, self.currentProject): - return True + with open(self.autosavePath, 'r') as f: + p = [line for line in f] + return True if len(p) > 1 else False else: return False |
