def toggleShowTips(self):
    self.showTips = (not self.showTips)
    self.statusLineCount = (8 if self.showTips else 1)
    self.layout()
    self.program.prefs.save('status', 'showTips', self.showTips)
def toggleShowTips(self):
    self.showTips = (not self.showTips)
    self.statusLineCount = (8 if self.showTips else 1)
    self.layout()
    self.program.prefs.save('status', 'showTips', self.showTips)