diff --git a/gajim/accounts_window.py b/gajim/accounts_window.py
index 69990c95ca175e4ce6b60a404d86aa6c9b7dfa1e..e00e93ba495b00935b1b8afc3f5363edfc257374 100644
--- a/gajim/accounts_window.py
+++ b/gajim/accounts_window.py
@@ -686,7 +686,7 @@ def __init__(self, account, parent):
         self.connect('destroy', self.on_destroy)
 
     def on_password_change(self, new_password, data):
-        self.get_option('password').entry.set_text(new_password)
+        passwords.save_password(self.account, new_password)
 
     def on_destroy(self, *args):
         savepass = app.config.get_per('accounts', self.account, 'savepass')