Added a function to "reload" a view. This just switch
view to lighttable then to the desired view.
After import process:
darkroom is loaded if 1 image has been imported.
If the current view is darkroom, it reloads the view using the new reload function. Because the collection and image's focus changed onto a different image, the darkroom reloads with a different image;
lighttable is loaded if more images have been imported, excepted if the current view is lighttable;
Activated import in global menu from darkroom.
changed the switching process after import :
lighttable
then to the desired view.After import process:
darkroom
is loaded if 1 image has been imported. If the current view isdarkroom
, it reloads the view using the new reload function. Because the collection and image's focus changed onto a different image, thedarkroom
reloads with a different image;lighttable
is loaded if more images have been imported, excepted if the current view islighttable
;