add tools import button
This commit is contained in:
parent
51e6cf13ef
commit
f8bf28acdd
4 changed files with 4 additions and 1 deletions
|
|
@ -287,6 +287,7 @@ gapp.register("kiri-mode.cam.tools", (root, exports) => {
|
|||
api.event.settings();
|
||||
api.settings.sync.put();
|
||||
};
|
||||
ui.toolsImport.onclick = (ev) => api.event.import(ev);
|
||||
ui.toolsExport.onclick = () => {
|
||||
uc.prompt("Export Tools Filename", "tools").then(name => {
|
||||
if (!name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue