Skip to content

Commit e073dad

Browse files
committed
notify no image is open
1 parent 08dfed7 commit e073dad

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/io/bioimage/modelrunner/gui

1 file changed

+1
-0
lines changed

src/main/java/io/bioimage/modelrunner/gui/Gui.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ else if (!GuiUtils.isEDTAlive())
391391
List<String> inputNames = guiAdapter.getInputImageNames();
392392
if (inputNames.size() == 0) {
393393
startModelInstallation(false);
394+
SwingUtilities.invokeLater(() -> this.contentPanel.setProgressLabelText("No image open"));
394395
return;
395396
}
396397
List<Tensor<T>> list = guiAdapter.getInputTensors(runner.getDescriptor());

0 commit comments

Comments
 (0)