|
|
|
@ -1587,11 +1587,19 @@ int main(int argc, char *argv[]) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else if (Keypressed(input, Key.GoToContainingDir)) |
|
|
|
else if (Keypressed(input, Key.GoToContainingDir)) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (myScreen == myBrowser && myBrowser->Main()->Current().type == itPlaylist) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
const std::string pl_name = myBrowser->Main()->Current().name; |
|
|
|
|
|
|
|
myPlaylistEditor->JumpTo(pl_name); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
Song *s = myScreen->CurrentSong(); |
|
|
|
Song *s = myScreen->CurrentSong(); |
|
|
|
if (s) |
|
|
|
if (s) |
|
|
|
myBrowser->LocateSong(*s); |
|
|
|
myBrowser->LocateSong(*s); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
else if (Keypressed(input, Key.GoToMediaLibrary)) |
|
|
|
else if (Keypressed(input, Key.GoToMediaLibrary)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Song *s = myScreen->CurrentSong(); |
|
|
|
Song *s = myScreen->CurrentSong(); |
|
|
|
|