- else if( gui->vicon_drawing && get_button_down() &&
- (item = (AssetPicon*)get_selection(0, 0)) != 0 ) {
- switch( folder ) {
- case AW_MEDIA_FOLDER:
- case AW_PROXY_FOLDER:
- case AWINDOW_USER_FOLDERS:
- if( get_buttonpress() == LEFT_BUTTON ||
- get_buttonpress() == MIDDLE_BUTTON ) {
- AssetVIcon *vicon = 0;
- if( !gui->vicon_thread->vicon )
- vicon = item->vicon;
- int draw_mode = vicon && get_buttonpress() == MIDDLE_BUTTON ?
- ASSET_VIEW_MEDIA_MAP : ASSET_VIEW_MEDIA;
- gui->vicon_thread->set_view_popup(vicon, draw_mode);
- }
- break;
- case AW_CLIP_FOLDER:
- if( get_buttonpress() == LEFT_BUTTON ) {
- AssetVIcon *vicon = 0;
- if( !gui->vicon_thread->vicon )
- vicon = item->vicon;
- gui->vicon_thread->set_view_popup(vicon, ASSET_VIEW_ICON);
+ else if( get_button_down() && !gui->play_off &&
+ mwindow->edl->session->assetlist_format != ASSETS_TEXT ) {
+ item = (AssetPicon*)get_selection(0, 0);
+ if( item && !get_selection(0, 1) ) {
+ switch( folder ) {
+ case AW_MEDIA_FOLDER:
+ case AW_PROXY_FOLDER:
+ case AWINDOW_USER_FOLDERS:
+ if( get_buttonpress() == LEFT_BUTTON ||
+ get_buttonpress() == MIDDLE_BUTTON ) {
+ AssetVIcon *vicon = 0;
+ AssetVIconThread *avt = gui->vicon_thread;
+ if( !avt->vicon && gui->vicon_drawing != AVICON_NO_PLAY )
+ vicon = item->vicon;
+ int draw_mode = !vicon ?
+ ASSET_VIEW_NONE :
+ get_buttonpress() == MIDDLE_BUTTON ?
+ ASSET_VIEW_MEDIA_MAP : ASSET_VIEW_MEDIA;
+ avt->set_view_popup(vicon, draw_mode);
+ }
+ break;
+ case AW_CLIP_FOLDER:
+ if( get_buttonpress() == LEFT_BUTTON ) {
+ AssetVIcon *vicon = 0;
+ AssetVIconThread *avt = gui->vicon_thread;
+ if( !avt->vicon && gui->vicon_drawing != AVICON_NO_PLAY )
+ vicon = item->vicon;
+ gui->vicon_thread->set_view_popup(vicon, ASSET_VIEW_ICON);
+ }
+ break;