summaryrefslogtreecommitdiff
path: root/plugins/Watrack/kolframe/kolframe.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/kolframe/kolframe.pas')
-rw-r--r--plugins/Watrack/kolframe/kolframe.pas5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Watrack/kolframe/kolframe.pas b/plugins/Watrack/kolframe/kolframe.pas
index 8120e34f0e..49a541a206 100644
--- a/plugins/Watrack/kolframe/kolframe.pas
+++ b/plugins/Watrack/kolframe/kolframe.pas
@@ -106,8 +106,7 @@ begin
case wParam of
WAT_EVENT_PLAYERSTATUS: begin
case integer(loword(lParam)) of
- WAT_PLS_NORMAL : exit;
- WAT_PLS_NOMUSIC : begin
+ WAT_PLS_STOPPED : begin
if D.HideNoMusic then
HideFrame(D.FrameId)
else
@@ -119,6 +118,8 @@ begin
SetFrameTitle(PluginShort,0,0); // frame update code there
end;
+ else
+ exit;
end;
FrameCtrl.ResetFrame;
end;