diff --git a/gui/builtinContextMenus/metaSwap.py b/gui/builtinContextMenus/metaSwap.py index 35ae4b36f..144d3f8bb 100644 --- a/gui/builtinContextMenus/metaSwap.py +++ b/gui/builtinContextMenus/metaSwap.py @@ -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): diff --git a/imgs/renders/35832.png b/imgs/renders/35832.png new file mode 100644 index 000000000..e4f3f70d8 Binary files /dev/null and b/imgs/renders/35832.png differ diff --git a/imgs/renders/35833.png b/imgs/renders/35833.png new file mode 100644 index 000000000..bc3743124 Binary files /dev/null and b/imgs/renders/35833.png differ diff --git a/imgs/renders/35834.png b/imgs/renders/35834.png new file mode 100644 index 000000000..9224ba047 Binary files /dev/null and b/imgs/renders/35834.png differ diff --git a/imgs/renders/40340.png b/imgs/renders/40340.png new file mode 100644 index 000000000..38e9179ac Binary files /dev/null and b/imgs/renders/40340.png differ diff --git a/scripts/renders_update.py b/scripts/renders_update.py index b3c42e5fb..8cb734720 100644 --- a/scripts/renders_update.py +++ b/scripts/renders_update.py @@ -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()