]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins2/controls/ctrl_image.cpp: fixed the infamous popup bug under...
authorGildas Bazin <gbazin@videolan.org>
Sat, 26 Jun 2004 18:40:54 +0000 (18:40 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sat, 26 Jun 2004 18:40:54 +0000 (18:40 +0000)
modules/gui/skins2/controls/ctrl_image.cpp

index 507764f02eaf9147227e5419ff088071b6622d0d..984bf7ec36a8b5a807b22f4e97f891bd509e31d4 100755 (executable)
@@ -2,7 +2,7 @@
  * ctrl_image.cpp
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: ctrl_image.cpp,v 1.3 2004/02/29 16:49:55 asmax Exp $
+ * $Id$
  *
  * Authors: Cyril Deguet     <asmax@via.ecp.fr>
  *          Olivier Teulière <ipkiss@via.ecp.fr>
@@ -52,7 +52,7 @@ CtrlImage::~CtrlImage()
 void CtrlImage::handleEvent( EvtGeneric &rEvent )
 {
     // No FSM for this simple transition
-    if( rEvent.getAsString() == "mouse:right:down:none" )
+    if( rEvent.getAsString() == "mouse:right:up:none" )
     {
         CmdDlgShowPopupMenu cmd( getIntf() );
         cmd.execute();