when the layout is switched and the new layout is on the combo list, use the label previously assigned to it

This commit is contained in:
Felipe Cecagno 2015-05-24 19:57:30 -03:00
parent 673d4d3316
commit 810fe4b176

View File

@ -134,7 +134,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
if (idx == -1) { if (idx == -1) {
prompt = e.layoutID; prompt = e.layoutID;
} else { } else {
prompt = ResourceUtil.getInstance().getString('bbb.layout.combo.prompt'); prompt = dataProvider[idx].label;
} }
invalidateDisplayList(); invalidateDisplayList();