openjump-gis / openjump

OpenJUMP, the Open Source GIS with more than one trick in its kangaroo pocket, takes the leap from svn to git. join the effort!
http://openjump.org
GNU General Public License v2.0
28 stars 14 forks source link

Update SingleValuesPanel.java #116

Open ma15569 opened 2 weeks ago

ma15569 commented 2 weeks ago

Restore original code as it was not able to retrieve any previously preset style

edeso commented 1 week ago

is that really needed? why?

i commented the condition because it failed to redo the styling as soon as one was applied already.

ma15569 commented 1 week ago

In my test, if I generated a raster layer with its style (for instance the tool RasterTool-HydrologycTools-flow accumulation generates a layer and applies a style ). Then, when I open the style panel, it shows again a preset style. Anyhow I am going to do other tests with the new buid and check if it is really worth to make the commit