From 59400675fb5c8141eb643acc9eeb04b88e81da82 Mon Sep 17 00:00:00 2001 From: Duane Johnson Date: Sat, 12 Nov 2011 07:44:28 -0600 Subject: [PATCH 1/2] Remove ability to click on Z +/- 100 --- zbuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zbuttons.py b/zbuttons.py index d268a89..c5e0887 100644 --- a/zbuttons.py +++ b/zbuttons.py @@ -10,7 +10,7 @@ def sign(n): else: return 0 class ZButtons(BufferedCanvas): - button_ydistances = [7, 30, 55, 83, 112] + button_ydistances = [7, 30, 55, 83] # ,112 center = (30, 118) label_overlay_positions = { 0: (1, 18, 11), From 3d08436499bfd84ea6cc7d997a033e6c276681dc Mon Sep 17 00:00:00 2001 From: Duane Johnson Date: Sat, 12 Nov 2011 07:49:21 -0600 Subject: [PATCH 2/2] Remove alphabetic sort order from baud rate combo box --- pronterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pronterface.py b/pronterface.py index 27d05df..442cfe4 100755 --- a/pronterface.py +++ b/pronterface.py @@ -380,7 +380,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): uts.Add(wx.StaticText(self.panel,-1,"@",pos=(250,5)),wx.RIGHT,5) self.baud = wx.ComboBox(self.panel, -1, choices=["2400", "9600", "19200", "38400", "57600", "115200", "250000"], - style=wx.CB_DROPDOWN|wx.CB_SORT|wx.CB_READONLY, size=(110,30),pos=(275,0)) + style=wx.CB_DROPDOWN|wx.CB_READONLY, size=(110,30),pos=(275,0)) try: self.baud.SetValue("115200") self.baud.SetValue(str(self.settings.baudrate))