diff --git a/ui (gen4)/features/filesystem.js b/ui (gen4)/features/filesystem.js index 160f9d27..4a89384d 100755 --- a/ui (gen4)/features/filesystem.js +++ b/ui (gen4)/features/filesystem.js @@ -963,16 +963,18 @@ module.FileSystemWriter = core.ImageGridFeatures.Feature({ // - save as.. (browser) // - save if not base path present (browser) var FileSystemWriterUIActions = actions.Actions({ - // XXX should this ask the user for a path??? - // XXX this for some reason works differently than browseSaveIndex(..) - // and saves images-diff instead of images... + // XXX this needs feedback... saveIndexHere: ['File/Save', function(){ if(this.location.path){ this.saveIndex(this.location.path) - } + + } else { + this.browseSaveIndex() + } }], // XXX add ability to create dirs... + // XXX this needs feedback... browseSaveIndex: ['File/Save index to...', makeBrowseProxy('saveIndex', function(){ this.location.method = 'loadIndex' })], diff --git a/ui (gen4)/ui.js b/ui (gen4)/ui.js index dfa1b575..12598446 100755 --- a/ui (gen4)/ui.js +++ b/ui (gen4)/ui.js @@ -263,7 +263,8 @@ module.GLOBAL_KEYBOARD = { default: 'slideshowDialog', // XXX need to make this save to base_path if it exists and // ask the user if it does not... now it always asks. - ctrl: 'browseSaveIndex', + ctrl: 'saveIndexHere', + 'ctrl+shift': 'browseSaveIndex', }, // XXX still experimental...