Skip to content

Commit

Permalink
Fixed broken macros (#2333)
Browse files Browse the repository at this point in the history
  • Loading branch information
breiler committed Oct 8, 2023
1 parent cef6e79 commit fe182a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void updateMacroName() {

@Override
public void actionPerformed(ActionEvent e) {
if (macro != null && macro.getGcode() != null) {
if (macro == null || macro.getGcode() == null) {
return;
}

Expand Down

0 comments on commit fe182a5

Please sign in to comment.