From e75c34afeb5a8a8321b820129a2c125f8f12809c Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Wed, 12 Apr 2017 15:20:06 +0200 Subject: [PATCH] button color changed, 3 comp. window --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 3a0d6f3c..4c175fdd 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -0656-dirty +bb60-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 14df6ad6..b2bf9386 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -720,13 +720,13 @@ class PickDlg(QDialog): self.leave_picking_mode() def init_p_pick(self): - self.set_button_color(self.p_button, 'green') + self.set_button_color(self.p_button, 'yellow') self.updateCurrentLimits() self.activatePicking() self.currentPhase = 'P' def init_s_pick(self): - self.set_button_color(self.s_button, 'green') + self.set_button_color(self.s_button, 'yellow') self.updateCurrentLimits() self.activatePicking() self.currentPhase = 'S' @@ -879,10 +879,10 @@ class PickDlg(QDialog): print(self.currentPhase) if self.currentPhase == 'P': - self.set_button_color(self.p_button, 'red') + self.set_button_color(self.p_button, 'green') self.setIniPickP(gui_event, wfdata, trace_number) elif self.currentPhase == 'S': - self.set_button_color(self.s_button, 'red') + self.set_button_color(self.s_button, 'green') self.setIniPickS(gui_event, wfdata) self.zoomAction.setEnabled(False)