Remove some unnecessary branches and unused functions

This commit is contained in:
Veronica K. B. Olsen
2020-12-12 19:22:38 +01:00
parent 585287b487
commit 27696d65e4
8 changed files with 18 additions and 26 deletions
-8
View File
@@ -806,14 +806,6 @@ class GuiConfigEditEditingTab(QWidget):
# Internal Functions
##
def _disableComboItem(self, theList, theValue):
"""Disable a list item in the combo box.
"""
theModel = theList.model()
anItem = theModel.item(1)
anItem.setFlags(anItem.flags() ^ Qt.ItemIsEnabled)
return theModel
def _doUpdateSpellTool(self, currIdx):
"""Update the list of dictionaries based on spell tool selected.
"""