(self, callingWindow, itmContext, mainItem, selection)
| 31 | return True |
| 32 | |
| 33 | def getText(self, callingWindow, itmContext, mainItem, selection): |
| 34 | if isinstance(mainItem, es_Cargo): |
| 35 | return _t("Change Selection Quantity") |
| 36 | return _t("Change {0} Quantity").format(itmContext) |
| 37 | |
| 38 | def activate(self, callingWindow, fullContext, mainItem, selection, i): |
| 39 | fitID = self.mainFrame.getActiveFit() |