Skip to content

Commit 0e0e987

Browse files
committed
Make undo entrypoint creation work without crash
1 parent 1c2b37b commit 0e0e987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mal_gui/undo_redo_commands/create_entrypoint_connection_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ def undo(self):
3737
self.connection.remove_labels()
3838
self.scene.removeItem(self.connection)
3939

40-
self.attacker.attackerAttachment.remove_entry_point(
40+
self.attacker_item.attackerAttachment.remove_entry_point(
4141
self.asset_item.asset, self.attack_step_name
4242
)

0 commit comments

Comments
 (0)