add path menu to settings-window
This commit is contained in:
parent
d103462920
commit
8c46111a3b
1 changed files with 14 additions and 1 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue