Mercurial > libervia-backend
diff frontends/src/primitivus/profile_manager.py @ 446:39a8ca1a2675
Primitivus: fixed redraw on profile change in profile manager
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2011 00:05:41 +0100 |
parents | 6c20c76abdcc |
children | cf005701624b |
line wrap: on
line diff
--- a/frontends/src/primitivus/profile_manager.py Sun Dec 04 00:03:15 2011 +0100 +++ b/frontends/src/primitivus/profile_manager.py Sun Dec 04 00:05:41 2011 +0100 @@ -108,14 +108,15 @@ def onProfileChange(self, list_wid): def setJID(jabberID): self.login_wid.set_edit_text(jabberID) + self.host.redraw() def setPassword(password): self.pass_wid.set_edit_text(password) + self.host.redraw() profile_name = list_wid.getSelectedValue() if profile_name: self.host.bridge.asyncGetParamA("JabberID", "Connection", profile_key=profile_name, callback=setJID, errback=self.getParamError) self.host.bridge.asyncGetParamA("Password", "Connection", profile_key=profile_name, callback=setPassword, errback=self.getParamError) - self.host.redraw() def onConnectProfile(self, button): profile_name = self.list_profile.getSelectedValue()