def OnConfigExit(self, msg): """Update current state when the config dialog has been closed @param msg: Message Object """ util.Log("[Launch][info] Saving config to profile") self.RefreshControlBar() Profile_Set(LAUNCH_KEY, handlers.GetState())
def OnConfigExit(self, msg): """Update current state when the config dialog has been closed @param msg: Message Object """ util.Log("[Launch][info] Saving config to profile") self.RefreshControlBar() Profile_Set( LAUNCH_KEY, handlers.GetState()) # TODO is this necessary see other handler # Update wordwrapping mode = wx.stc.STC_WRAP_NONE if self._prefs.get('wrapoutput', False): mode = wx.stc.STC_WRAP_WORD # should we do wrap char? wrapmode = self._buffer.GetWrapMode() if wrapmode != mode: self._buffer.SetWrapMode(mode) self.UpdateBufferColors()
def OnStoreConfig(msg): Profile_Set(LAUNCH_KEY, handlers.GetState())