Commit 645f2c8
committed
Raster renderer GUI: fix switching between renderers, and potential infinite signal notifications.
Fixes #3871 (comment), ie switching between
renderers in the raster layer properties dialog or in the style dock result in non optimal
parameters, so better switch to default parameters that would be the ones used when
adding a layer of the new renderer type to the canvas. This issue already existed in 2.18
Also fixes a potential infinite notification cycle when having both the style dock and
layer properties dialog opened, and applying changes in the layer properties dialog.
(related to #3871).1 parent 9124c73 commit 645f2c8
File tree
4 files changed
+28
-9
lines changed- src
- app
- gui/raster
4 files changed
+28
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
552 | 565 | | |
553 | 566 | | |
554 | 567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
| |||
267 | 260 | | |
268 | 261 | | |
269 | 262 | | |
| 263 | + | |
270 | 264 | | |
271 | 265 | | |
272 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
336 | 349 | | |
337 | 350 | | |
338 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| 143 | + | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| |||
0 commit comments