Bug fix: Made SingleObjectView._rowChanged ignore extra arguments.
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 31 Jul 2004 12:58:26 +0000 (12:58 +0000)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 31 Jul 2004 12:58:26 +0000 (12:58 +0000)
src/gkofoto/singleobjectview.py

index c4d7f2e..4cd427d 100644 (file)
@@ -140,7 +140,7 @@ class SingleObjectView(ObjectCollectionView, ImageView):
         env.debug("SingleObjectView is handling model update")
         self.importSelection(self._objectCollection.getObjectSelection())
 
-    def _rowChanged(self, model, path, iter):
+    def _rowChanged(self, model, path, iter, arg, *unused):
         if path[0] == self.__selectedRowNr:
             env.debug("selected object in SingleObjectView changed")
             objectSelection = self._objectCollection.getObjectSelection()