From 7030fcad0546484955ab65066a2baa0abb453a8a Mon Sep 17 00:00:00 2001 From: Keegi Date: Fri, 2 Dec 2011 10:21:16 +0200 Subject: [PATCH] sort settings alphabetically in options dialog --- pronterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pronterface.py b/pronterface.py index 1e3dfdf..87176f6 100755 --- a/pronterface.py +++ b/pronterface.py @@ -1580,7 +1580,7 @@ class options(wx.Dialog): grid=wx.GridSizer(rows=0,cols=2,hgap=8,vgap=2) vbox.Add(grid,0,wx.EXPAND) ctrls = {} - for k,v in pronterface.settings._all_settings().items(): + for k,v in sorted(pronterface.settings._all_settings().items()): grid.Add(wx.StaticText(self,-1,k),0,wx.BOTTOM+wx.RIGHT) ctrls[k] = wx.TextCtrl(self,-1,str(v)) grid.Add(ctrls[k],1,wx.EXPAND)