Mercurial > hg > Feedworm
diff PreferencesDialog.py @ 44:be990ac6e478
saving the preference "start maximized" from GUI implemented
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 14 May 2010 15:02:15 +0200 |
parents | 12ed8b5fa08c |
children | 03358c113170 |
line wrap: on
line diff
--- a/PreferencesDialog.py Fri May 14 08:31:46 2010 +0200 +++ b/PreferencesDialog.py Fri May 14 15:02:15 2010 +0200 @@ -17,14 +17,14 @@ self.ui.startMaximized.setChecked(maximized) def startMaximizedChanged(self, change): - print("start maximized: " + str(change)) + self.preferences.setStartMaximized(change) def accept(self): - # TODO save the session + self.session.commit() QtGui.QDialog.accept(self) def reject(self): - # TODO revert the session + self.session.rollback() QtGui.QDialog.reject(self) \ No newline at end of file