Add disk bookmark to browser

This commit is contained in:
luboslenco
2021-01-15 16:54:37 +01:00
parent 0dfcdd3613
commit 5899cfdf4e
+4
View File
@@ -60,6 +60,10 @@ class TabBrowser {
hpath.text = "cloud";
}
if (ui.button(tr("Disk"), Left)) {
hpath.text = UIFiles.defaultPath;
}
for (b in Config.raw.bookmarks) {
var folder = b.substr(b.lastIndexOf(Path.sep) + 1);