| Summary: | Cannot select "Stop after current track" at non-playlist track | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Alexander Surma <alexander.surma> |
| Component: | Playlist | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.4.4 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Alexander Surma
2006-12-31 01:40:30 UTC
SVN commit 618080 by aoliveira:
Show stop after track option even when current track is not on playlist
BUG: 139422
M +1 -1 actionclasses.cpp
--- trunk/extragear/multimedia/amarok/src/actionclasses.cpp #618079:618080
@@ -629,7 +629,7 @@
setItemEnabled( NOW, Amarok::actionCollection()->action( "stop" )->isEnabled() );
- setItemEnabled( AFTER_TRACK, pl->currentTrackIndex() >= 0 );
+ setItemEnabled( AFTER_TRACK, EngineController::engine()->loaded() );
setItemChecked( AFTER_TRACK, pl->stopAfterMode() == Playlist::StopAfterCurrent );
setItemEnabled( AFTER_QUEUE, pl->nextTracks().count() );
|