(self, callingWindow, itmContext, mainItem)
| 26 | return mainItem.amount > 1 |
| 27 | |
| 28 | def getText(self, callingWindow, itmContext, mainItem): |
| 29 | return _t("Split {} Stack").format(itmContext) |
| 30 | |
| 31 | def activate(self, callingWindow, fullContext, mainItem, i): |
| 32 | with DroneStackSplit(self.mainFrame, mainItem.amount) as dlg: |