nion-software / nionswift-usim

STEM microscope simulator
GNU General Public License v3.0
6 stars 13 forks source link

Fix 'thread-xy has no event loop' error. #40

Closed Brow71189 closed 2 years ago

Brow71189 commented 2 years ago

This fixes the problem we're seeing in multiple places now for the usim panel. I'm not sure if it is correct to fix the problem here or if there is a fix needed on the nionswift level. But I'm opening that pull request so that you can review it @cmeyer.

cmeyer commented 2 years ago

I've opted to change this in the nionui layer. See https://github.com/nion-software/nionui/commit/098ee36e992687d4b0147ec5220a6960b9a3c374. I'm closing this issue; but the fix might still have issues since UI changes will occur one periodic call later than before. If you see new problems, please file another issue.