Mercurial > libervia-backend
diff frontends/src/primitivus/profile_manager.py @ 2171:978011533892
primitivus: fixed profileCreate bridge call
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 08 Mar 2017 20:44:28 +0100 |
parents | 1bb9bf1b4150 |
children | 8b37a62336c3 |
line wrap: on
line diff
--- a/frontends/src/primitivus/profile_manager.py Mon Mar 06 21:22:59 2017 +0100 +++ b/frontends/src/primitivus/profile_manager.py Wed Mar 08 20:44:28 2017 +0100 @@ -88,7 +88,7 @@ def newProfile(self, button, edit): """Create the profile""" name = edit.get_edit_text() - self.host.bridge.createProfile(name, callback=lambda: self.newProfileCreated(name), errback=self.profileCreationFailure) + self.host.bridge.profileCreate(name, callback=lambda: self.newProfileCreated(name), errback=self.profileCreationFailure) def newProfileCreated(self, profile): # new profile will be selected, and a selected profile assume the session is started