fixed update of attachment view
fixed update of attachment view

when selecting new file in tree view
the attachment view didn't get update properly.

moved the correct code to updateAttachentView
and call it appropriatly.

kekh/mikidown,ShadowKyogre/mikidown,kekh/mikidown,ShadowKyogre/mikidown,kekh/mikidown,ShadowKyogre/mikidown