(self, callingWindow, srcContext, mainItem)
| 17 | self.mainFrame = gui.mainFrame.MainFrame.getInstance() |
| 18 | |
| 19 | def display(self, callingWindow, srcContext, mainItem): |
| 20 | if srcContext != "droneItem": |
| 21 | return False |
| 22 | |
| 23 | if mainItem is None: |
| 24 | return False |
| 25 | |
| 26 | return mainItem.amount > 1 |
| 27 | |
| 28 | def getText(self, callingWindow, itmContext, mainItem): |
| 29 | return _t("Split {} Stack").format(itmContext) |
nothing calls this directly
no outgoing calls
no test coverage detected