File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
plugins/nf-console/src/main/nextflow/ui/console Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ class ConsoleRunner implements ConsoleExtension {
7070 }
7171
7272 static void loadDockIcon () {
73- final URL imageResource = ConsoleRunner . getResource(" /nextflow-icon.png" );
74- final defaultToolkit = Toolkit . getDefaultToolkit()
75- final image = defaultToolkit. getImage(imageResource)
76- final taskbar = Taskbar . getTaskbar()
7773 try {
74+ final URL imageResource = ConsoleRunner . getResource(" /nextflow-icon.png" );
75+ final defaultToolkit = Toolkit . getDefaultToolkit()
76+ final image = defaultToolkit. getImage(imageResource)
77+ final taskbar = Taskbar . getTaskbar()
7878 // set icon for mac os (and other systems which do support this method)
7979 taskbar. setIconImage(image)
8080 }
You can’t perform that action at this time.
0 commit comments