From 5bb51c95c6a6a45592313c575e4d68aa1504665d Mon Sep 17 00:00:00 2001 From: bionel Date: Wed, 20 Sep 2017 22:26:38 +0300 Subject: remove comments --- src/frontend/gui/sisyphus-gui.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index a33e3c8..16a7323 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -19,7 +19,7 @@ class Sisyphus(QtWidgets.QMainWindow): ('Description', 'descr') ]) self.selectfield.addItems(self.SEARCHFIELDS.keys()) - self.selectfield.setCurrentIndex(1) # defaults to package name + self.selectfield.setCurrentIndex(1) self.selectfield.currentIndexChanged.connect(self.setSearchField) self.SEARCHFILTERS = OrderedDict ([ @@ -30,12 +30,12 @@ class Sisyphus(QtWidgets.QMainWindow): ('Downgradable', 'AND iv > av') ]) self.selectfilter.addItems(self.SEARCHFILTERS.keys()) - self.selectfilter.setCurrentIndex(0) # defaults to package name + self.selectfilter.setCurrentIndex(0) self.selectfilter.currentIndexChanged.connect(self.setSearchFilter) - Sisyphus.SEARCHTERM = "'%%'" # defaults to all - Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] # defaults to package name - Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] # defaults to any + Sisyphus.SEARCHTERM = "'%%'" + Sisyphus.SEARCHFIELD = self.SEARCHFIELDS['Name'] + Sisyphus.SEARCHFILTER = self.SEARCHFILTERS['All'] self.loadDatabase(Sisyphus.SEARCHFIELD,Sisyphus.SEARCHTERM,Sisyphus.SEARCHFILTER) self.input.textEdited.connect(self.filterDatabase) -- cgit v1.2.3