From c6a370041f182c57136c60978fa49b60c2cc2d61 Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Mon, 26 Sep 2011 18:08:53 +0200 Subject: [PATCH] fix segmentation fault This fixes the segmentation fault during startup for me (Ubuntu 11.04). Please test if this fixes also your problems with this... Possibly fixes #53, possibly fixes #54 --- sloth/gui/labeltool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sloth/gui/labeltool.py b/sloth/gui/labeltool.py index f43600b..b1a0793 100755 --- a/sloth/gui/labeltool.py +++ b/sloth/gui/labeltool.py @@ -109,7 +109,7 @@ class MainWindow(QMainWindow): self.statusBar().showMessage("Background loading finished", 5000) self.idletimer.stop() if self.loader is not None: - self.idletimer.timeout.disconnect() + self.idletimer.timeout.disconnect(self.loader.load) self.statusBar().removeWidget(self.sb_progress) self.loader = None