Bug report #8582
QGis 1.9 d2af494 - Problem loading a style
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17324|
Problem loading a style categorized created earlier.
If you create a style and loads, has the problem that first, that if the column does not exist in the shape to use, is loaded first numeric column that the program finds. One way to correct this is to know the name of the column and change the name directly in the saved style file (. Qml). In my opinion the load a saved style should ask which column should be applied. Another problem is that if you have created a style with custom value ranges, and the column is changed, the ranges are revalued and destroyed, I think you should only happen if there are no defined ranges. Another problem arises if you change the color ramp does not change immediately, but respects the defined ranges, what I do to force change is to change the color ramp, and select a range, until then produces the change in colors