Modify ↓
#13023 closed enhancement (fixed)
[Patch] Replace uses of hasEditLayer() with new layer manager.
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.06 |
Component: | Core | Version: | |
Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description
Replace uses of old Main.hasEditLayer with layer manager.
The layer manager does not provide a hasEditLayer method. You can use an != null
check here. In most cases where this was used you want to work with the edit layer directly afterwards, so you can simply get it and check if it is not null.
Attachments (1)
Change History (5)
Changed 6 years ago by
Attachment: | patch-layer-manager-has-edit-layer.patch added |
---|
comment:2 Changed 6 years ago by
Milestone: | → 16.06 |
---|
comment:4 Changed 6 years ago by
I know. Those were the ones I want to investigate further if they are required or can be replaced by a better solution.
Note: See
TracTickets for help on using
tickets.
Still 4 warnings: