From 3eabe8c11bdda8107374e8868588a38a55a980da Mon Sep 17 00:00:00 2001 From: Andrea Marcelli Date: Wed, 16 Dec 2020 18:50:16 +0100 Subject: [PATCH] GhIDA Python 3 fixed EnableField --- ghida_plugin/ui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: