Put checkmark if spell checking language 'None' is selected
Change-Id: Iccbcbce2590b70c115199fcdb57bd5174d9c3a80 Reviewed-on: https://gerrit.libreoffice.org/47638 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
parent
f9bf3f61ea
commit
78a2990f96
1 changed files with 2 additions and 0 deletions
|
@ -538,6 +538,8 @@ L.Control.Menubar = L.Control.extend({
|
|||
var data = decodeURIComponent($(aItem).data('uno'));
|
||||
if (data.indexOf(lang) !== -1) {
|
||||
$(aItem).addClass('lo-menu-item-checked');
|
||||
} else if (data.indexOf('LANGUAGE_NONE') !== -1 && lang === '[None]') {
|
||||
$(aItem).addClass('lo-menu-item-checked');
|
||||
} else {
|
||||
$(aItem).removeClass('lo-menu-item-checked');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue