skill calc: clear combined action slot on skill change

It doesn't make much sense to combine actions across skills.
This commit is contained in:
dekvall
2019-10-18 15:52:41 +02:00
parent 36b69342e5
commit 9b569f8506

View File

@@ -1,4 +1,4 @@
/* /**
* Copyright (c) 2018, Kruithne <kruithne@gmail.com> * Copyright (c) 2018, Kruithne <kruithne@gmail.com>
* Copyright (c) 2018, Psikoi <https://github.com/psikoi> * Copyright (c) 2018, Psikoi <https://github.com/psikoi>
* All rights reserved. * All rights reserved.
@@ -129,6 +129,9 @@ class SkillCalculator extends JPanel
// Clear the search bar // Clear the search bar
searchBar.setText(null); searchBar.setText(null);
// Clear the combined action slots
clearCombinedSlots();
// Add in checkboxes for available skill bonuses. // Add in checkboxes for available skill bonuses.
renderBonusOptions(); renderBonusOptions();