diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 14:31:37 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 14:42:07 (GMT) |
commit | 181c0a8dfc5fd434a978498840586e3d2b3637ba (patch) | |
tree | 5e2f3f06a679e3cecc07cb5b324a9cb32c57b40a /Area.py | |
parent | 583df7a03f81a73ae392a63575ef05b1dbe70c4b (diff) |
Save and restore tools state in the metadata - SL #2708
Signed-off-by: Puneet Kaur <puneet.gkaur@gmail.com>
Acked-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1670,7 +1670,8 @@ class Area(Gtk.DrawingArea): hotspot_x, hotspot_y) except GObject.GError: cursor = None - self.get_window().set_cursor(cursor) + if self.get_window() is not None: + self.get_window().set_cursor(cursor) def getout(self, undo=False, clear_selection=True): """ |