Skip to content

Commit

Permalink
If UI is already created, don't createUI() again
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Jul 16, 2024
1 parent 9a9fb72 commit 3074675
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/scijava/ui/AbstractUserInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public abstract class AbstractUserInterface extends AbstractRichPlugin

@Override
public void show() {
if (visible) return;
createUI();
visible = true;
}
Expand Down

0 comments on commit 3074675

Please sign in to comment.