From 5cb1fbb7b6fde0f17bd328cabae0eb44b1ba1300 Mon Sep 17 00:00:00 2001 From: mailchuck Date: Sat, 12 Mar 2016 09:15:08 +0100 Subject: [PATCH] Email gateway interface usability improvements - don't allow status request / settings unless registered already - if registered, status request is the default selected option Fixes #182 --- src/bitmessageqt/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index 57f0dacd..d03cb607 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -4430,7 +4430,12 @@ class EmailGatewayDialog(QtGui.QDialog): acct = accountClass(addressAtCurrentRow) if isinstance(acct, GatewayAccount): self.ui.radioButtonUnregister.setEnabled(True) + self.ui.radioButtonStatus.setEnabled(True) + self.ui.radioButtonStatus.setChecked(True) + self.ui.radioButtonSettings.setEnabled(True) else: + self.ui.radioButtonStatus.setEnabled(False) + self.ui.radioButtonSettings.setEnabled(False) self.ui.radioButtonUnregister.setEnabled(False) label = shared.config.get(addressAtCurrentRow, 'label') if label.find("@mailchuck.com") > -1: