Mercurial > libervia-backend
diff src/stdui/ui_profile_manager.py @ 1530:94cd4d242dc5
core (XMLUI): restorer submit_id:
- submit_id was missing due to a previous change in commit a2e4b976e707
- XMLUI.submit_id can now be None (not set) or empty string in addition to normal values
fix bug 102
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Sep 2015 15:00:27 +0200 |
parents | 069ad98b360d |
children | 05274b27e90e |
line wrap: on
line diff
--- a/src/stdui/ui_profile_manager.py Sat Sep 26 14:24:33 2015 +0200 +++ b/src/stdui/ui_profile_manager.py Sat Sep 26 15:00:27 2015 +0200 @@ -65,7 +65,7 @@ return self._verifyPassword(data_, profile) callback_id = self.host.registerCallback(xmlui_cb, with_data=True, one_shot=True) - form_ui = xml_tools.XMLUI("form", title=D_('Profile password for %s') % profile, submit_id=callback_id) + form_ui = xml_tools.XMLUI("form", title=D_('Profile password for {}').format(profile), submit_id=callback_id) form_ui.addPassword('profile_password', value='') return {'xmlui': form_ui.toXml()}