diff --git a/ghida_plugin/ui.py b/ghida_plugin/ui.py index 0dc1513..d6c1542 100644 --- a/ghida_plugin/ui.py +++ b/ghida_plugin/ui.py @@ -190,7 +190,7 @@ def OnFormChange(self, fid): self.EnableField(self.GhidraaasURL, False) # USE GHIDRAAAS OPTION - if fid == USE_GHIDRAAAS_OPTION_CONST: + if fid == self.GRe.id: if self.ghidraaas_selected: self.EnableField(self.GhidraInstallationPath, True) self.EnableField(self.GhidraaasURL, False) @@ -202,14 +202,14 @@ def OnFormChange(self, fid): self.ghidraaas_selected = True # SAVE / LOAD CACHE - if fid == SAVE_CACHE_OPTION_CONST: + if fid == self.GRe2.id: if self.save_cache: self.save_chache = False else: self.save_cache = True # DO NOT SHOW DIALOG - if fid == DO_NOT_SHOW_DIALOG_CONST: + if fid == self.GRe1.id: if self.show_dialog: self.show_dialog = False else: