'Save the model to current selected filename.
Do nothing if model or current filename are None.'

def savecurrent(self):

    if ((self.model is not None) and (self.filename is not None)):
        self.save(self.filename)
