Skip to content

Commit ecfc8ac

Browse files
committed
Make Python mode dialog slightly less lopsided
1 parent d7756c8 commit ecfc8ac

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/main/java/org/scijava/plugins/scripting/python/OptionsPython.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,13 @@ public void save() {
307307
else {
308308
writeEnvironmentYaml();
309309
}
310-
// Warn the user if pythonMode was just enabled and wasn't before
310+
// Warn the user if pythonMode was just enabled and wasn't before.
311311
if (!initialPythonMode && pythonMode && uiService != null) {
312312
String msg =
313-
"You have just enabled Python mode. Please restart for these changes to take effect! (after your python environment initializes, if needed)\n\n" +
314-
"If Fiji fails to start, try deleting your configuration file and restarting.\n\nConfiguration file: " +
315-
configFile;
313+
"You have just enabled Python mode. Please restart for these changes to take effect\n" +
314+
"(once your Python environment has finished initializing).\n\n" +
315+
"If Fiji fails to start, try deleting your configuration file and restarting.\n\n" +
316+
"Configuration file: " + configFile;
316317
uiService.showDialog(msg, "Python Mode Enabled",
317318
DialogPrompt.MessageType.WARNING_MESSAGE);
318319
}

0 commit comments

Comments
 (0)