From 5928967e28855cf24188cf935f98f496602c9868 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Wed, 21 Jun 2017 15:33:49 +0200 Subject: [PATCH] [closes #212] tuneAutopicker always tries to load current event in mainwindow --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 19b2644c..a281ef17 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -b0dc-dirty +6feff-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 0bd05283..9a051139 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1857,7 +1857,7 @@ class TuneAutopicker(QWidget): def fill_eventbox(self): # update own list self.parent.fill_eventbox(eventBox=self.eventBox, select_events='ref') - index_start = self.eventBox.currentIndex() + index_start = self.parent.eventBox.currentIndex() index = index_start if index == -1: index += 1