瀏覽代碼

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,
             pos=wx.DefaultPosition,
             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_DCLICK, self.EvtListBoxDClick, self.fontlb)