If corresponding option is enabled, re-enable all meta buttons on every search change rather than just on search beginning

This commit is contained in:
DarkPhoenix
2019-05-03 03:41:09 +03:00
parent 2b24f14122
commit c950592b5b

View File

@@ -134,7 +134,7 @@ class MarketBrowser(wx.Panel):
@mode.setter
def mode(self, newMode):
oldMode = self.__mode
if newMode == oldMode:
if newMode == oldMode != 'search':
return
# Store meta button states when switching from normal
if oldMode == 'normal':