From 1ec468a586a266c1478932d9045e0a053276a652 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Wed, 15 Jun 2016 10:01:28 +0200 Subject: [PATCH] bugfix, boxes clickable --- pylot/core/active/ActiveSeismoPick3D_GUI.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 pylot/core/active/ActiveSeismoPick3D_GUI.py diff --git a/pylot/core/active/ActiveSeismoPick3D_GUI.py b/pylot/core/active/ActiveSeismoPick3D_GUI.py old mode 100644 new mode 100755 index 7dd1c34c..ce0ecba9 --- a/pylot/core/active/ActiveSeismoPick3D_GUI.py +++ b/pylot/core/active/ActiveSeismoPick3D_GUI.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- import os from PySide import QtCore, QtGui, QtCore from asp3d_layout import * @@ -164,11 +166,11 @@ class gui_control(object): if state == 'active': self.mainUI.survey_active.setCheckable(True) self.mainUI.survey_active.setChecked(True) - self.mainUI.survey_active.setCheckable(True) + self.mainUI.survey_active.setCheckable(False) elif state == 'inactive': self.mainUI.survey_active.setCheckable(True) self.mainUI.survey_active.setChecked(False) - self.mainUI.survey_active.setCheckable(True) + self.mainUI.survey_active.setCheckable(False) def checkSurveyState(self): if self.mainUI.survey_active.checkState() == QtCore.Qt.CheckState.Checked: