Skip to content
Browse files

Fixed SMS search in CoverFlow. Fix should be ported to other facade c…

…ontrols.
  • Loading branch information...
1 parent 4b63e3d commit 181ca5a59a0aef44aac5a45e48e374f4a0e557c4 @SilentException SilentException committed Jan 9, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 mediaportal/Core/guilib/GUICoverFlow.cs
View
9 mediaportal/Core/guilib/GUICoverFlow.cs
@@ -426,6 +426,7 @@ public override void OnAction(Action action)
//UnspinCard();
if (action.wID == Action.ActionType.ACTION_SHOW_INFO)
{
+ ResetSearchString();
OnDefaultAction(action);
UnspinCard();
return;
@@ -744,7 +745,13 @@ private void SearchItem(string SearchKey, SearchType iSearchMethode)
if ((bItemFound) && (iItem >= 0 && iItem < _listItems.Count))
{
+ string searchstring = _searchString;
+ char previousKey = _previousKey;
+ char currentKey = _currentKey;
SelectCardIndex(iItem);
+ _searchString = searchstring;
+ _previousKey = previousKey;
+ _currentKey = currentKey;
}
UpdateProperties();
}
@@ -2141,7 +2148,7 @@ private void OnDefaultAction(Action action)
GUIMessage msg = new GUIMessage(GUIMessage.MessageType.GUI_MSG_CLICKED, WindowId, GetID, ParentID,
(int)action.wID, 0, null);
GUIGraphicsContext.SendMessage(msg);
- ResetSearchString();
+ //ResetSearchString();
}
private void ResetSearchString()

0 comments on commit 181ca5a

Please sign in to comment.
Something went wrong with that request. Please try again.