diff --git a/mediaportal/WindowPlugins/WindowPluginBase.cs b/mediaportal/WindowPlugins/WindowPluginBase.cs index 37eabc24f41..624b0a9cbcc 100644 --- a/mediaportal/WindowPlugins/WindowPluginBase.cs +++ b/mediaportal/WindowPlugins/WindowPluginBase.cs @@ -221,8 +221,14 @@ public override bool OnMessage(GUIMessage message) { // Set the new view. SetView(btnViews.SelectedItemValue); - SelectCurrentItem(); - + + // View can switch screen (ie. in my vids from shares to dbviews) so we need to check that + // because selectitem will be done on old screen and that can cause a trouble + if (GUIWindowManager.ActiveWindow == GetID) + { + SelectCurrentItem(); + } + // Refocus on the view button control. GUIControl.FocusControl(GetID, message.TargetControlId);