<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi, David and Tony,<div class=""><br class=""></div><div class="">you both are right.</div><div class=""><br class=""></div><div class="">I made some mistakes while stripping down my codebase and while preparing it for the ML.</div><div class="">The posted code does not really show the problem, if corrected as you pointed out, Tony, it runs well.</div><div class="">And yes, I'm using PyCharm as IDE and I have a better structured layout [1].</div><div class=""><br class=""></div><div class="">To show the problem, I attach new versions of both files.</div><div class="">The problem happens, if I start creating and loading more zones by calling</div><div class="">model.loadZones() from the __main__ code in za.py (commented out in the attached version).</div><div class="">The debugger shows return from model.loadZones(), but nothing is displayed then.</div><div class=""><br class=""></div><div class="">I guess, model.loadZones() would better be called from some event code, once I’m using events.</div><div class=""><br class=""></div><div class="">Thanks for your help,</div><div class="">Axel</div><div class=""><br class=""></div><div class="">PS: [1] </div></body></html>