Skip to content

Commit b12dc02

Browse files
authored
Merge pull request #672 from Sloeber/fix_upload_problems
#645 make dialog box pop up when com port is selected and password
2 parents 6fcb52f + aa983d4 commit b12dc02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

io.sloeber.ui/src/io/sloeber/ui/project/properties/BoardSelectionPage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ public void handleEvent(Event e) {
237237
case SWT.Selection:
238238
String host = getUpLoadPort().split(Const.SPACE)[0];
239239
if (host.equals(getUpLoadPort())) {
240-
Activator
241-
.log(new Status(IStatus.INFO, Activator.getId(), Messages.port_is_not_a_computer_name));
240+
Activator.log(
241+
new Status(IStatus.ERROR, Activator.getId(), Messages.port_is_not_a_computer_name));
242242
} else {
243243
PasswordManager passwordManager = new PasswordManager();
244244
PasswordDialog dialog = new PasswordDialog(composite.getShell());

0 commit comments

Comments
 (0)