From d5f6f7b37ce6698d4441326a64b847654f359d11 Mon Sep 17 00:00:00 2001 From: blitzman Date: Mon, 13 Mar 2017 21:49:31 -0400 Subject: [PATCH] Disable "minimal" selection for remote reps pane (doesn't work) --- gui/builtinPreferenceViews/pyfaStatViewPreferences.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/builtinPreferenceViews/pyfaStatViewPreferences.py b/gui/builtinPreferenceViews/pyfaStatViewPreferences.py index e285568e6..993dd89e1 100644 --- a/gui/builtinPreferenceViews/pyfaStatViewPreferences.py +++ b/gui/builtinPreferenceViews/pyfaStatViewPreferences.py @@ -98,6 +98,8 @@ class PFStatViewPref(PreferenceView): self.rbPrice.Bind(wx.EVT_RADIOBOX, self.OnPriceChange) self.rbOutgoing = wx.RadioBox(panel, -1, "Remote Reps", wx.DefaultPosition, wx.DefaultSize, ['None', 'Minimal', 'Full'], 1, wx.RA_SPECIFY_COLS) + # Disable minimal as we don't have a view for this yet + self.rbOutgoing .EnableItem(1, False) self.rbOutgoing.SetSelection(self.settings.get('outgoing')) rbSizerRow3.Add(self.rbOutgoing, 1, wx.TOP | wx.RIGHT, 5) self.rbOutgoing.Bind(wx.EVT_RADIOBOX, self.OnOutgoingChange)