Skip to content

Commit

Permalink
revise order in which polled ports are added to device list
Browse files Browse the repository at this point in the history
  • Loading branch information
stronnag committed Dec 15, 2024
1 parent 09cb43e commit 07cec1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mwp/serial_watcher.vala
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ namespace Mwp {
if (Mwp.find_combo(Mwp.dev_combox, (string)*sptr) == -1) {
var addme = check_insert_name(*sptr);
if (addme == 1) {
Mwp.append_combo(Mwp.dev_combox, (string)*sptr);
} else if (addme == -1) {
Mwp.prepend_combo(Mwp.dev_combox, (string)*sptr);
} else if (addme == -1) {
Mwp.append_combo(Mwp.dev_combox, (string)*sptr);
}
}
}
Expand Down

0 comments on commit 07cec1e

Please sign in to comment.