فهرست منبع

wxGUI: fix opening dialog for d.* commands fonts in settings on Mac, related to wxWidgets bug https://trac.osgeo.org/grass/ticket/15693, see https://trac.osgeo.org/grass/ticket/3046

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68532 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 سال پیش
والد
کامیت
d3211c7fad
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      gui/wxpython/gui_core/preferences.py

+ 1 - 1
gui/wxpython/gui_core/preferences.py

@@ -2060,7 +2060,7 @@ class DefaultFontDialog(wx.Dialog):
             id=wx.ID_ANY,
             id=wx.ID_ANY,
             pos=wx.DefaultPosition,
             pos=wx.DefaultPosition,
             choices=self.fontlist,
             choices=self.fontlist,
-            style=wx.LB_SINGLE | wx.LB_SORT)
+            style=wx.LB_SINGLE)
         self.Bind(wx.EVT_LISTBOX, self.EvtListBox, self.fontlb)
         self.Bind(wx.EVT_LISTBOX, self.EvtListBox, self.fontlb)
         self.Bind(wx.EVT_LISTBOX_DCLICK, self.EvtListBoxDClick, self.fontlb)
         self.Bind(wx.EVT_LISTBOX_DCLICK, self.EvtListBoxDClick, self.fontlb)