Fix context menu with structure modules (no meta information), add citadel icons.
This commit is contained in:
@@ -29,6 +29,9 @@ class MetaSwap(ContextMenu):
|
||||
|
||||
self.selection = selection
|
||||
|
||||
if len(self.variations) == 1:
|
||||
return False # no variations from current module
|
||||
|
||||
return True
|
||||
|
||||
def getText(self, itmContext, selection):
|
||||
|
||||
BIN
imgs/renders/35832.png
Normal file
BIN
imgs/renders/35832.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
imgs/renders/35833.png
Normal file
BIN
imgs/renders/35833.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
imgs/renders/35834.png
Normal file
BIN
imgs/renders/35834.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
imgs/renders/40340.png
Normal file
BIN
imgs/renders/40340.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
@@ -30,7 +30,7 @@ cursor = db.cursor()
|
||||
RENDER_SIZE = (32, 32)
|
||||
|
||||
|
||||
query_ships = 'select it.typeID from invtypes as it inner join invgroups as ig on it.groupID = ig.groupID where ig.categoryID = 6'
|
||||
query_ships = 'select it.typeID from invtypes as it inner join invgroups as ig on it.groupID = ig.groupID where ig.categoryID in (6, 65)'
|
||||
|
||||
|
||||
needed = set()
|
||||
|
||||
Reference in New Issue
Block a user