Skip to content

Unable to delete layers. #2211

Description

@bangdingouch

Unable to delete layers.

Create layers after using magic wand, indexes increase by two, upon deletion it throws this error:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at Pinta.Core.DocumentLayers.get_CurrentUserLayer()
at Pinta.Core.LayerActions.HandlePintaCoreActionsLayersDeleteLayerActivated(Object sender, EventArgs e)
at Pinta.Core.Command.<.ctor>b__33_0(SimpleAction o, ActivateSignalArgs args)
at GObject.Closure.InternalCallback(IntPtr closure, IntPtr returnValuePtr, UInt32 nParamValues, IntPtr paramValuesData, IntPtr invocationHint, IntPtr userData)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions