networkAgent: Make sure to update the OK button on dialog pop up

For consistency.
This commit is contained in:
Jasper St. Pierre 2013-11-03 16:10:11 -05:00
parent 01dbfddb64
commit 4f7014b2d5

View File

@ -138,6 +138,8 @@ const NetworkSecretDialog = new Lang.Class({
key: Clutter.KEY_Escape, key: Clutter.KEY_Escape,
}, },
this._okButton]); this._okButton]);
this._updateOkButton();
}, },
_updateOkButton: function() { _updateOkButton: function() {