Fix crash when adding map sketches on older QGIS release and add a test case#715
Fix crash when adding map sketches on older QGIS release and add a test case#715ValentinBuira merged 3 commits intomasterfrom
Conversation
|
Not sure if we want to default to older enum type by default or if we want have something like: This should work with both older versions of QGIS and also in the future if the Besides that, it looks all good. |
|
Not exactly sure, why the test is failing. It should work the code seems to be fine ... |
I don't think it will be ever removed with the don't break API rule in QGIS, but the new entries to the enum will be accessed with |
|
Ok, lets leave it as it is. Just fix the test then ;-) |
Fix crash when adding a map sketches layer because we can't use the new fancy enum in older QGIS release.
Also add a test case for this