Destroy "Register and add images..." dialog properly after use.
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 25 Jul 2004 22:58:32 +0000 (22:58 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 25 Jul 2004 22:58:32 +0000 (22:58 +0000)
src/gkofoto/albums.py

index 4a96f61..a9b0fee 100644 (file)
@@ -98,6 +98,7 @@ class Albums:
         selectedAlbum = env.shelf.getAlbum(selectedAlbumId)
         dialog = RegisterImagesDialog(selectedAlbum)
         dialog.run()
+        dialog.destroy()
         # TODO: update objectCollection?
 
     def _createAlbumHelper(self, tag, desc):