Fix setGlobalFlag

This commit is contained in:
ckcz123 2020-09-22 14:03:47 +08:00
parent 527472a5d4
commit f9e3926e5d

View File

@ -2703,7 +2703,7 @@ events.prototype.setGlobalFlag = function (name, value) {
core.flags.statusBarItems = statusBarItems;
flags.statusBarItems = core.clone(statusBarItems);
} else {
flags[name] = core.flags.name = value;
flags[name] = core.flags[name] = value;
}
core.setFlag("globalFlags", flags);
core.resize();