Skip to content

Commit 3074675

Browse files
committed
If UI is already created, don't createUI() again
1 parent 9a9fb72 commit 3074675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/scijava/ui/AbstractUserInterface.java

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public abstract class AbstractUserInterface extends AbstractRichPlugin
7979

8080
@Override
8181
public void show() {
82+
if (visible) return;
8283
createUI();
8384
visible = true;
8485
}

0 commit comments

Comments
 (0)