(self)
| 42 | return True |
| 43 | |
| 44 | def Undo(self): |
| 45 | pyfalog.debug('Undoing cloning of local module from position {} to position {} for fit ID {}'.format(self.srcPosition, self.dstPosition, self.fitID)) |
| 46 | from .localRemove import CalcRemoveLocalModulesCommand |
| 47 | cmd = CalcRemoveLocalModulesCommand(fitID=self.fitID, positions=[self.dstPosition], recalc=False) |
| 48 | if not cmd.Do(): |
| 49 | return False |
| 50 | restoreCheckedStates(Fit.getInstance().getFit(self.fitID), self.savedStateCheckChanges) |
| 51 | return True |
| 52 | |
| 53 | @property |
| 54 | def needsGuiRecalc(self): |
nothing calls this directly
no test coverage detected