add path menu to settings-window

This commit is contained in:
vapormusic 2022-06-28 09:17:07 +07:00
parent d103462920
commit 8c46111a3b

View file

@ -228,6 +228,16 @@
</label> </label>
</div> </div>
</div> </div>
<div class="md-option-line">
<div class="md-option-segment">
{{'Local files path'}}
</div>
<div class="md-option-segment md-option-segment_auto">
<button class="md-btn" @click="openLocalSongsPathMenu">
{{'Edit Paths'}}
</button>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -1893,8 +1903,11 @@
app.confirm(app.getLz("settings.prompt.general.keybindings.update.success"), (ok) => { app.confirm(app.getLz("settings.prompt.general.keybindings.update.success"), (ok) => {
if (ok) ipcRenderer.invoke("relaunchApp") if (ok) ipcRenderer.invoke("relaunchApp")
}) })
} },
/* keybindings */ /* keybindings */
openLocalSongsPathMenu() {
app.modals.pathMenu = true
}
} }
}) })
</script> </script>