On show of language settings, update the panel

Settings changed using other UIs will not be updated unless we refresh
the settings panel.

Bug: 49148
Change-Id: Ia7cd8c91e59360c80eb72fdf0a966bdb3ce52d27
This commit is contained in:
Santhosh Thottingal
2013-06-05 11:08:22 +05:30
committed by Gerrit Code Review
parent 335b338b69
commit 84355a422d

View File

@@ -153,6 +153,9 @@
this.$window.i18n();
this.shown = true;
this.$window.show();
// Every time we show this window, make sure the current
// settings panels is upto date. So just click on active menu item.
this.$window.find( '.input-settings-block.active' ).click();
this.position();
this.visible();
},