<div dir="ltr">Sorry, in addition to dedenting the methods, make sure to move them below the other logic in the init function. So, in your case, you'll want to move them after the "self.show()" line.<div><br></div><div>If you don't want them to be class methods, then you can remove the "self" argument from the functions and reference the functions as "save" and "cancel" rather than "self.save" and "self.cancel".</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021 at 6:35 PM Addison Elliott <<a href="mailto:addison.elliott@gmail.com">addison.elliott@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Your save and cancel methods are local functions defined in the constructor (__init__). They are <b>not</b> class methods.<div><br></div><div>Dedent those methods (and their bodies) back once and it should work.</div><div><br></div><div>In Python, indentation matters.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 21, 2021 at 6:33 PM Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com" target="_blank">rshepard@appl-ecosys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 21 Apr 2021, Rich Shepard wrote:<br>
<br>
Code attached.<br>
<br>
Mea culpa!<br>
<br>
Rich</blockquote></div>
</blockquote></div>