From 43778b3718e3f7e7c4c5ede7aa31ab73da57c03c Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Mon, 10 Sep 2012 23:14:09 +0200 Subject: [PATCH] tag editor: fix a few glitches in LocateSong --- src/tag_editor.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp index ef71577a..a3685393 100644 --- a/src/tag_editor.cpp +++ b/src/tag_editor.cpp @@ -969,9 +969,15 @@ void TagEditor::LocateSong(const MPD::Song &s) break; } } + // refresh window so we can be highlighted item + Dirs->refresh(); + Tags->clear(); Update(); + // reset TagTypes since it can be under Filename + // and then songs in right column are not visible. + TagTypes->reset(); // go to the right column NextColumn(); NextColumn();