MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / showSettings

Method showSettings

src/main/views/manager.ts:129–138  ·  view source on GitHub ↗
(tab: string | null)

Source from the content-addressed store, hash-verified

127 }
128
129 showSettings(tab: string | null) {
130 if (this.windows.has("settings")) {
131 this.get("settings").show();
132 if (tab != null) {
133 bus.iat("setSettingTab", tab);
134 }
135 } else {
136 this.createSetting(tab).show();
137 }
138 }
139
140 closeByName(routeName: RouteActionType) {
141 if (this.windows.has(routeName)) {

Callers 1

handleMethod · 0.80

Calls 3

getMethod · 0.95
createSettingMethod · 0.95
hasMethod · 0.45

Tested by

no test coverage detected