Mercurial > pyntnclick
diff pyntnclick/tools/rect_drawer.py @ 806:b39f01012a74 pyntnclick
Instantiate the file chooser with a (non-existent) size
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 27 Jan 2013 15:26:10 +0200 |
parents | e11e092cc58e |
children | 9968778115ce |
line wrap: on
line diff
--- a/pyntnclick/tools/rect_drawer.py Sun Jan 27 15:13:58 2013 +0200 +++ b/pyntnclick/tools/rect_drawer.py Sun Jan 27 15:26:10 2013 +0200 @@ -373,7 +373,7 @@ def image_load(self, ev, widget): if self.filechooser is None: - self.filechooser = FileChooser((0, 0), self.gd, os.curdir, + self.filechooser = FileChooser((0, 0), self.gd, None, os.curdir, self.do_load_image) else: self.filechooser.refresh()