mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Sort symbols by theme. Fixes https://github.com/GNS3/gns3-gui/issues/3230
This commit is contained in:
parent
5eb5658a74
commit
5ece48500c
@ -104,8 +104,7 @@ class Symbols:
|
||||
'builtin': False,
|
||||
'theme': "Custom symbols"})
|
||||
self._symbols_path[symbol_file] = os.path.join(root, filename)
|
||||
|
||||
symbols.sort(key=lambda x: x["filename"])
|
||||
symbols.sort(key=lambda x: x["theme"])
|
||||
return symbols
|
||||
|
||||
def symbols_path(self):
|
||||
|
Loading…
Reference in New Issue
Block a user