Commit c084be51 authored by Joaquim Rocha's avatar Joaquim Rocha

Fix error when deleting a page

It was connecting the "row-deleted" signal to a callback with the
wrong number of arguments.
parent f071e95f
......@@ -435,7 +435,7 @@ class Studio:
def zoomFit(self, widget = None):
self.source_images_controler.zoomFit()
def __pagesUpdatedCallback(self, model, path, iter):
def __pagesUpdatedCallback(self, model, path, iter = None):
self.main_window.setNumberOfPages(
self.source_images_icon_view.getNumberOfPages())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment