ソースを参照

wxGUI/scatter: quick fix for scatterplot (adding useless settings values)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54908 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 12 年 前
コミット
b60e3c4e60
1 ファイル変更6 行追加0 行削除
  1. 6 0
      gui/wxpython/core/settings.py

+ 6 - 0
gui/wxpython/core/settings.py

@@ -541,6 +541,12 @@ class Settings:
                     'pfill' : 'solid',
                     'psize' : 1,
                     'ptype' : 'dot',
+                    # FIXME: this is only a quick fix
+                    # using also names used in a base class for compatibility
+                    # probably used only for initialization
+                    # base should be rewritten to not require this
+                    'pwidth' : 1,  # required by wxplot/base, maybe useless here
+                    'pstyle' : 'dot', # line pen style
                     'plegend' : _('Data point'),
                     0 : {'datatype' : 'CELL'},
                     1 : {'datatype' : 'CELL'},