From 81c7ac2f6ebf71ed7ab561c0dd6163d47245768a Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 20 Mar 2019 10:16:03 +0100 Subject: [PATCH] [bugfix] split for dirty event (*) --- pylot/core/util/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 246bdacc..14213531 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -3491,7 +3491,7 @@ class TuneAutopicker(QWidget): self.listWidget.scrollToBottom() def get_current_event(self): - path = self.eventBox.currentText() + path = self.eventBox.currentText().split('*')[0] # the path sometimes contains the star that shows that the event has been modified # It would be cleaner to find out why/where the star is added to the eventbox and make this a visual only effect if path[-1] == "*" : path = path[:-1]