Skip to content

Commit bb5bfee

Browse files
authored
Merge pull request #3740 from Raizo62/master
"console connect to all nodes" is now case-insensitively
2 parents 6b32d8b + 0a74872 commit bb5bfee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gns3/graphics_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ def consoleFromItems(self, items):
11371137

11381138
delay = self._main_window.settings()["delay_console_all"]
11391139
counter = 0
1140-
for name in sorted(nodes.keys()):
1140+
for name in sorted(nodes.keys(), key=str.casefold):
11411141
node = nodes[name]
11421142
callback = qpartial(self.consoleToNode, node)
11431143
self._main_window.run_later(counter, callback)
@@ -1216,7 +1216,7 @@ def auxConsoleFromItems(self, items):
12161216

12171217
delay = self._main_window.settings()["delay_console_all"]
12181218
counter = 0
1219-
for name in sorted(nodes.keys()):
1219+
for name in sorted(nodes.keys(), key=str.casefold):
12201220
node = nodes[name]
12211221
callback = qpartial(self.consoleToNode, node, aux=True)
12221222
self._main_window.run_later(counter, callback)

0 commit comments

Comments
 (0)