Skip to content

Commit bc83ce2

Browse files
committed
fix: EditActionsDialog would open twice if opened via CompoundButton
This is a regression that got introduced with commit 91a12d4
1 parent f1ccca9 commit bc83ce2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/de/bwravencl/controllerbuddy/gui/AssignmentsComponent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ private CompoundButton(final Main main, final JPanel parentPanel, final Componen
303303
if (peer != null) {
304304
peer.setPeer(this);
305305
setModel(peer.getModel());
306+
model.removeActionListener(actionListener);
306307
}
307308

308309
final var componentType = component.getType();

0 commit comments

Comments
 (0)