bugfix: now crop stack is reset on load...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-01-30 06:07:40 +04:00
parent 88d1bcc4ba
commit 948acbf366

View File

@ -437,5 +437,18 @@ function filterImagesDialog(){
/*********************************************************************/
function setupCrop(viewer){
return viewer
// reset the crop stack when loading something...
.on('fileStateLoaded', function(){
CROP_STACK = []
})
}
SETUP_BINDINGS.push(setupCrop)
/**********************************************************************
* vim:set ts=4 sw=4 : */