From 2644b1c648f90a55996153b940d391f2b71c4b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Thu, 24 Oct 2019 15:21:11 +0200 Subject: [PATCH] disable console, improve startup --- .appveyor/shapeout2.spec | 2 +- CHANGELOG | 2 ++ shapeout2/gui/ana_filter.py | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.appveyor/shapeout2.spec b/.appveyor/shapeout2.spec index b30c1fa..004c44d 100644 --- a/.appveyor/shapeout2.spec +++ b/.appveyor/shapeout2.spec @@ -35,7 +35,7 @@ exe = EXE(pyz, strip=False, upx=False, icon=icofile, - console=True) + console=False) coll = COLLECT(exe, a.binaries, diff --git a/CHANGELOG b/CHANGELOG index eaa9c07..bbf34d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +2.0.0a20 + - fix missing source files in previous release 2.0.0a19 - fix plot matrix: size and buttons of elements - populate help menu diff --git a/shapeout2/gui/ana_filter.py b/shapeout2/gui/ana_filter.py index a61e82b..6c9a2c1 100644 --- a/shapeout2/gui/ana_filter.py +++ b/shapeout2/gui/ana_filter.py @@ -22,8 +22,8 @@ def __init__(self, *args, **kwargs): path_ui = pkg_resources.resource_filename( "shapeout2.gui", "ana_filter.ui") uic.loadUi(path_ui, self) + self.setUpdatesEnabled(False) self._init_box_filters() - self.pushButton_apply.clicked.connect(self.write_filter) self.pushButton_reset.clicked.connect(self.update_content) self.comboBox_filters.currentIndexChanged.connect(self.update_content) @@ -32,6 +32,7 @@ def __init__(self, *args, **kwargs): self.update_content() # current Shape-Out 2 pipeline self._pipeline = None + self.setUpdatesEnabled(True) def _init_box_filters(self, show_features=SHOW_FEATURES): self._box_range_controls = {}