diff --git a/gui/patternEditor.py b/gui/patternEditor.py index 36f812f0e..c02fc57d6 100644 --- a/gui/patternEditor.py +++ b/gui/patternEditor.py @@ -42,7 +42,7 @@ class DmgPatternNameValidator(BaseValidator): return DmgPatternNameValidator() def Validate(self, win): - entityEditor = win.parent + entityEditor = win.Parent.parent textCtrl = self.GetWindow() text = textCtrl.GetValue().strip() diff --git a/gui/setEditor.py b/gui/setEditor.py index 9d4fa6ed3..96a6ba26e 100644 --- a/gui/setEditor.py +++ b/gui/setEditor.py @@ -39,7 +39,7 @@ class ImplantTextValidor(BaseValidator): return ImplantTextValidor() def Validate(self, win): - entityEditor = win.parent + entityEditor = win.Parent.parent textCtrl = self.GetWindow() text = textCtrl.GetValue().strip() diff --git a/gui/targetProfileEditor.py b/gui/targetProfileEditor.py index 7430931c0..4838fc837 100644 --- a/gui/targetProfileEditor.py +++ b/gui/targetProfileEditor.py @@ -62,7 +62,7 @@ class TargetProfileNameValidator(BaseValidator): return TargetProfileNameValidator() def Validate(self, win): - entityEditor = win.parent + entityEditor = win.Parent.parent textCtrl = self.GetWindow() text = textCtrl.GetValue().strip()