block setting volume with primary keybinding in playlist editor
This commit is contained in:
@@ -1896,7 +1896,9 @@ int main(int argc, char *argv[])
|
|||||||
mLibSongs->HighlightColor(Config.active_column_color);
|
mLibSongs->HighlightColor(Config.active_column_color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (wCurrent == mPlaylistList && input == Key.VolumeUp[0])
|
else if (current_screen == csPlaylistEditor && input == Key.VolumeUp[0])
|
||||||
|
{
|
||||||
|
if (wCurrent == mPlaylistList)
|
||||||
{
|
{
|
||||||
CLEAR_FIND_HISTORY;
|
CLEAR_FIND_HISTORY;
|
||||||
mPlaylistList->HighlightColor(Config.main_highlight_color);
|
mPlaylistList->HighlightColor(Config.main_highlight_color);
|
||||||
@@ -1904,6 +1906,7 @@ int main(int argc, char *argv[])
|
|||||||
wCurrent = mPlaylistEditor;
|
wCurrent = mPlaylistEditor;
|
||||||
mPlaylistEditor->HighlightColor(Config.active_column_color);
|
mPlaylistEditor->HighlightColor(Config.active_column_color);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
# ifdef HAVE_TAGLIB_H
|
# ifdef HAVE_TAGLIB_H
|
||||||
else if (current_screen == csTagEditor && input == Key.VolumeUp[0])
|
else if (current_screen == csTagEditor && input == Key.VolumeUp[0])
|
||||||
{
|
{
|
||||||
@@ -1949,7 +1952,9 @@ int main(int argc, char *argv[])
|
|||||||
mLibArtists->HighlightColor(Config.active_column_color);
|
mLibArtists->HighlightColor(Config.active_column_color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (wCurrent == mPlaylistEditor && input == Key.VolumeDown[0])
|
else if (current_screen == csPlaylistEditor && input == Key.VolumeDown[0])
|
||||||
|
{
|
||||||
|
if (wCurrent == mPlaylistEditor)
|
||||||
{
|
{
|
||||||
CLEAR_FIND_HISTORY;
|
CLEAR_FIND_HISTORY;
|
||||||
mPlaylistEditor->HighlightColor(Config.main_highlight_color);
|
mPlaylistEditor->HighlightColor(Config.main_highlight_color);
|
||||||
@@ -1957,6 +1962,7 @@ int main(int argc, char *argv[])
|
|||||||
wCurrent = mPlaylistList;
|
wCurrent = mPlaylistList;
|
||||||
mPlaylistList->HighlightColor(Config.active_column_color);
|
mPlaylistList->HighlightColor(Config.active_column_color);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
# ifdef HAVE_TAGLIB_H
|
# ifdef HAVE_TAGLIB_H
|
||||||
else if (current_screen == csTagEditor && input == Key.VolumeDown[0])
|
else if (current_screen == csTagEditor && input == Key.VolumeDown[0])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user