Merge pull request #7060 from rbbi/reset-search-skill-calc

Clear search bar when switching between skill calculators
This commit is contained in:
Tomas Slusny
2019-01-02 15:10:41 +01:00
committed by GitHub

View File

@@ -126,6 +126,9 @@ class SkillCalculator extends JPanel
// Remove all components (action slots) from this panel.
removeAll();
// Clear the search bar
searchBar.setText(null);
// Add in checkboxes for available skill bonuses.
renderBonusOptions();