Make sure switch to source editing button does not get disabled

Was broken by Ief769ba0

Bug: T97646
Change-Id: I43ea85373a6ca427bf6a1c9e01d70b960d93db91
This commit is contained in:
Alex Monk 2015-05-09 00:24:08 +01:00
parent 9d3d24ac81
commit db036ddd8d

View file

@ -39,6 +39,7 @@ ve.ui.MWEditModeTool.prototype.onUpdateState = function () {
ve.ui.Tool.prototype.onUpdateState.apply( this, arguments );
this.setActive( false );
this.setDisabled( false );
};
/**