bugfix + F8 to add image to collection...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-09-06 06:37:40 +03:00
parent 592d3a68d8
commit f0df4183c7
2 changed files with 2 additions and 3 deletions

View File

@ -429,9 +429,7 @@ var CollectionActions = actions.Actions({
// NOTE: we do not need to care about tags here as they
// will get overwritten on load...
state.data = (mode == 'empty' ?
// XXX should this be null???
//(new this.data.constructor())
null
(new this.data.constructor())
: mode == 'base' && this.crop_stack ?
(this.crop_stack[0] || this.data.clone())
: mode == 'crop' ?

View File

@ -373,6 +373,7 @@ module.GLOBAL_KEYBOARD = {
//alt_C: 'browseCollections',
alt_C: 'browseActions: "/Collections/" -- Collections menu...',
shift_O: 'browseCollections',
F8: 'addToCollection',
// metadata...