Merge remote-tracking branch 'remotes/upstream/develop' into develop

Conflicts:
	Vocaluxe/Screens/CScreenSong.cs
This commit is contained in:
Florian Kuepper committed 2012-12-03 09:19:59 +01:00
commit 83ccbda816
1 file changed
+4 -3
+4 -3
View File
@@ -187,7 +187,8 @@ namespace Vocaluxe.Screens
break; break;
case Keys.Space: case Keys.Space:
ToggleSongOptions(ESongOptionsView.General); if (!_SearchActive)
ToggleSongOptions(ESongOptionsView.General);
break; break;
case Keys.F3: case Keys.F3:
@@ -234,7 +235,7 @@ namespace Vocaluxe.Screens
//TODO: We need another key for random! //TODO: We need another key for random!
case Keys.R: case Keys.R:
if (CSongs.Category != -1 && KeyEvent.Mod == Modifier.Ctrl) if (!_SearchActive && CSongs.Category != -1 && KeyEvent.Mod == Modifier.Ctrl)
{ {
SongMenus[htSongMenus(SongMenu)].SetSelectedSong(CSongs.GetRandomSong()); SongMenus[htSongMenus(SongMenu)].SetSelectedSong(CSongs.GetRandomSong());
} }
@@ -246,7 +247,7 @@ namespace Vocaluxe.Screens
//TODO: Delete that! //TODO: Delete that!
case Keys.S: case Keys.S:
if (CSongs.NumVisibleSongs > 0) if (!_SearchActive && CSongs.NumVisibleSongs > 0)
{ {
StartMedleySong(SongMenus[htSongMenus(SongMenu)].GetSelectedSong()); StartMedleySong(SongMenus[htSongMenus(SongMenu)].GetSelectedSong());
} }