Remove unused function

This commit is contained in:
blitzmann
2017-04-10 21:58:56 -04:00
parent efaede0929
commit 6f914386ec
2 changed files with 2 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class PriceClear(ContextMenu):
if not self.settings.get('priceClear'):
return False
return srcContext == "priceViewFull"
return srcContext in ("priceViewFull", "priceViewMinimal")
def getText(self, itmContext, selection):
return "Reset Price Cache"

View File

@@ -4,8 +4,7 @@ from gui.preferenceView import PreferenceView
from gui.bitmapLoader import BitmapLoader
from gui.utils import helpers_wxPython as wxHelpers
import config
from eos.db.saveddata.queries import clearPrices, remove, clearDamagePatterns, clearTargetResists
from eos.db.saveddata.loadDefaultDatabaseValues import DefaultDatabaseValues
from eos.db.saveddata.queries import clearPrices, clearDamagePatterns, clearTargetResists
import logging