Commit 2a68b1d5 authored by Erwan Tulou's avatar Erwan Tulou

skins2: add a way to hide Video/Audio/Misc popupmenus

when one of these three popupmenus is shown, there was no way to hide it
 without first executing an item in the menu. (see for instance, earthox skin)

This patch ensures that the usual way to hide the default PopupMenu is also
used to hide any one of these other three popupmenus.
parent 3b95348d
...@@ -60,6 +60,9 @@ void CtrlImage::handleEvent( EvtGeneric &rEvent ) ...@@ -60,6 +60,9 @@ void CtrlImage::handleEvent( EvtGeneric &rEvent )
else if( rEvent.getAsString() == "mouse:left:up:none" ) else if( rEvent.getAsString() == "mouse:left:up:none" )
{ {
CmdDlgHidePopupMenu( getIntf() ).execute(); CmdDlgHidePopupMenu( getIntf() ).execute();
CmdDlgHideVideoPopupMenu( getIntf() ).execute();
CmdDlgHideAudioPopupMenu( getIntf() ).execute();
CmdDlgHideMiscPopupMenu( getIntf() ).execute();
} }
else if( rEvent.getAsString() == "mouse:left:dblclick:none" ) else if( rEvent.getAsString() == "mouse:left:dblclick:none" )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment