Open anonymous555 opened 2 months ago
Don't know for sure, but maybe the bug is related to here
public void SelectDeckType(DeckType selectedDeckType, bool ignoreSelectionChange = false)
{
if(ListViewDeckType.SelectedIndex == (int)selectedDeckType)
return;
if(ignoreSelectionChange)
_ignoreSelectionChange = true;
ListViewDeckType.SelectedIndex = (int)selectedDeckType;
if(ignoreSelectionChange)
_ignoreSelectionChange = false;
}
within DeckPicker.xaml.cs or the public enum DeckType
Hey there, thanks for the report! Do you have a deck code of a deck that's consistently failing to select?
**Seems to be the case for any deck .... for example
Click standard decks, import this**
#
# AAECAfHhBAKLkgb/lwYOh/YEs/cEj+QF8OgFhY4GkqAGubEGurEGvLEG9rEGi7cGz7wG1+UG2eUGAAA=
Then the wild tab gets selected.
Same problem with wild.... Click wild, import the below deck, then the twist tab gets selected....
#
# AAEBAf0GAo+CA4T7Aw7y0AL40AL6/gLLuQOVzQObzQPXzgPB0QOD+wPO+gXEngajoAbDuAbw5gYAAA==
Expected Behavior
This used to work before. When importing a deck don't change to the wrong deck mode tab.
Actual Behavior
After importing a standard deck from a deck code, the tracker switches to the wild deck tab. After importing a wild deck from a deck code, the tracker switches to the twist deck tab. Looks like an off by one error somewhere.
Steps to reproduce behavior
No response
Log/Screenshots
No response