Hi,

[SVN trunk]

I found that pattern's popup menu that use to appear on right click does not appear anymore (neither with right nor left click).

This patch fix that. It seems to be due to a a work in progress however, because there is a lot of commented code in the "SongEditor.cpp" file.

But for those that need it now (like me :-) ), this patch should be ok.

Bye
--- gui/src/SongEditor/SongEditor.cpp-orig	2008-02-19 17:58:23.000000000 +0100
+++ gui/src/SongEditor/SongEditor.cpp	2008-02-19 17:58:38.000000000 +0100
@@ -684,6 +684,7 @@
 
 	if (ev->button() == Qt::RightButton) {
 		togglePattern( row );
+		m_pPatternPopup->popup( QPoint( ev->globalX(), ev->globalY() ) );
 	}
 	else if ( ev->modifiers() == Qt::ControlModifier && ev->button() == Qt::LeftButton ) {
 /*
@@ -699,7 +700,6 @@
 			}
 		}
 */
-		m_pPatternPopup->popup( QPoint( ev->globalX(), ev->globalY() ) );
 	}
 
 	createBackground();
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Hydrogen-users mailing list
Hydrogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-users

Reply via email to