parameters: (self)
return_statement: return False
docstring: unset the input layer, then destroy it but only if it was created from this dialog
docstring_summary: unset the input layer, then destroy it but only if it was created from this dialog
docstring_tokens: unset the input layer then destroy it but only if it was created from this dialog
function: def deleteInputLayer(self):
          """ unset the input layer, then destroy it but only if it was created from this dialog """
          if self.mode == self.ASK_FOR_INPUT_MODE and self.inLayer:
              if self.inLayerMustBeDestroyed:
                  self.inLayer.deleteLater()
              self.inLayer = None
              self.inLayerMustBeDestroyed = False
              return True
          return False
function_tokens: def deleteInputLayer ( self ) : if self . mode == self . ASK_FOR_INPUT_MODE and self . inLayer : if self . inLayerMustBeDestroyed : self . inLayer . deleteLater ( ) self . inLayer = None self . inLayerMustBeDestroyed = False return True return False