in streamdeck-plugin/src/idea-property-inspector.ts [95:123]
private async onSaveButtonPressed() {
this.logMessage('onValidateButtonPressed()')
const password = (<HTMLInputElement>document.getElementById('password'))?.value
const host = this.hostElement?.value
const port = this.portElement?.value
const action = this.actionElement.value
const runConfig = this.runConfigurationNameElement.value
const actionPort = this.actionPortElement.value
const showTitle = this.showTitleElement.checked ? "on" : "off"
this.logMessage("action=" + action + ", showTitle=" + showTitle)
this.settingsManager.setGlobalSettings({ password, host, port })
switch (this.actionInfo.action) {
case pluginName + '.custom': {
break
}
}
this.setSettings({
action: action,
showTitle,
runConfig,
port: actionPort
})
this.requestSettings() // requestSettings will add the options to the select element
// this.sendToPlugin( { showTitle }, "updateTitle")
}