[desktop] debug

This commit is contained in:
Maxim Kadushkin 2021-12-15 14:14:42 +03:00
parent fd2fb44cfd
commit 03f0a24bfd

View file

@ -1871,7 +1871,6 @@ define([
native.execCommand("uitheme:changed", JSON.stringify({name:name, type:theme.type})); native.execCommand("uitheme:changed", JSON.stringify({name:name, type:theme.type}));
}, },
}); });
}
Common.Gateway.on('opendocument', function () { Common.Gateway.on('opendocument', function () {
api = DE.getController('ApplicationController').api; api = DE.getController('ApplicationController').api;
@ -1881,6 +1880,7 @@ define([
var is_win_xp = window.RendererProcessVariable && window.RendererProcessVariable.os === 'winxp'; var is_win_xp = window.RendererProcessVariable && window.RendererProcessVariable.os === 'winxp';
Common.UI.Themes.setAvailable(!is_win_xp); Common.UI.Themes.setAvailable(!is_win_xp);
}); });
}
return { return {
isActive: function () { isActive: function () {