Bug report #3761
"Cancel" button in Symbol properties dialogue has the same effect as "OK" button.
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13820|
- open the layer properties for a vector layer
- click the "Change" button on the left hand side of the window. This opens the Symbol properties dialogue
- change something (e.g. click the + button to add a symbol layer)
- click "Cancel"
- click the "Change" button again: you will see that the changes you made last time have been applied (e.g. the new symbol layer is still there), even though you clicked "Cancel".
FWIW I'm running r15740
#2 Updated by John Tull over 9 years ago
Also, please note this ticket.
In effect, the ok button causes rendering to occur again, for instance, after already hitting the apply button in the style dialog. The cancel button does not cause this re-rendering to occur, so it does have unintended functionality different from the ok button. At least that is true on my OS X system.
#3 Updated by Alister Hood over 9 years ago
- Assignee deleted (
"Cancel" button in Symbol properties dialogue has the effect as "OK" button
Obviously this description isn't quite right. The effect is not the same, as when you click cancel the changes are not applied in the main layer properties layer. The problem is just that when you reopen the symbol properties dialogue it remembers what you selected previously, instead of being reset to the current layer properties.