~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/preferences/tweaks.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
    def restore_to_defaults(self):
203
203
        for r in range(self.rowCount()):
204
204
            self.restore_to_default(self.index(r))
 
205
        self.plugin_tweaks = {}
205
206
 
206
207
    def update_tweak(self, idx, varmap):
207
208
        tweak = self.data(idx, Qt.UserRole)