properly set iconindicator callback
This commit is contained in:
parent
41206b03f7
commit
aeb2f02e78
1 changed files with 3 additions and 4 deletions
|
@ -2,11 +2,10 @@
|
||||||
|
|
||||||
import Tabs from "/scripts/GUI/tabs.js";
|
import Tabs from "/scripts/GUI/tabs.js";
|
||||||
import Window from "/scripts/GUI/window.js";
|
import Window from "/scripts/GUI/window.js";
|
||||||
import MenuEntry from "./menu.js";
|
import MenuEntry from "./menuentry.js";
|
||||||
import ManagedWindow from "./ManagedWindow.js";
|
import ManagedWindow from "./ManagedWindow.js";
|
||||||
import IconIndicator from "./icons.js";
|
import IconIndicator from "./iconindicator.js";
|
||||||
import check from "/scripts/external/check.js";
|
import check from "/scripts/external/check.js";
|
||||||
import {read} from "/scripts/secretariat.js";
|
|
||||||
|
|
||||||
export default class EntryManager {
|
export default class EntryManager {
|
||||||
constructor () {
|
constructor () {
|
||||||
|
@ -26,7 +25,7 @@ export default class EntryManager {
|
||||||
Window.addActionListener(`onFocusChanged`, (data) => {this.onRefresh()});
|
Window.addActionListener(`onFocusChanged`, (data) => {this.onRefresh()});
|
||||||
|
|
||||||
// Add the context menu event.
|
// Add the context menu event.
|
||||||
IconIndicator.set(this.instances.popup.show());
|
IconIndicator.set(this.instances.popup.show);
|
||||||
this.instances.menu.menu.onclick(() => {this.instances.popup.show()});
|
this.instances.menu.menu.onclick(() => {this.instances.popup.show()});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue