Skip to content

Error when draggin and dropping unsupported file on the samples layer zone #1

Description

@malkav30

actual: stacktrace without any feedback on the UI

mars 02, 2025 1:29:39 PM com.mpcmaid.gui.FileDragHandler importData
GRAVE: setSelectedIndex: 115 out of bounds
java.lang.IllegalArgumentException: setSelectedIndex: 115 out of bounds
        at java.desktop/javax.swing.JComboBox.setSelectedIndex(JComboBox.java:652)
        at com.mpcmaid.gui.Widget$ComboField.load(Widget.java:321)
...
        at com.mpcmaid.gui.FileDragHandler.importData(FileDragHandler.java:32)

Expected: at least some error popup

Note: this also does not work with pgm from cutom firmware, at least jjosxl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions