Skip modules which are not active

This commit is contained in:
DarkPhoenix
2019-07-08 07:22:21 +03:00
parent 04a74e278b
commit eda869fe0d
6 changed files with 8 additions and 4 deletions

View File

@@ -136,7 +136,7 @@ class BaseList(gui.display.Display):
self.fits.remove(fit)
self.update(self.fits)
for fit in fits:
self.graphFrame.clearCache(reason=GraphCacheCleanupReason.fitChanged, extraData=fit.ID)
self.graphFrame.clearCache(reason=GraphCacheCleanupReason.fitRemoved, extraData=fit.ID)
self.graphFrame.draw()
def unbindExternalEvents(self):