wilddom / memrise2anki-extension

An extension for Anki 2 that downloads and converts a course from Memrise into an Anki deck.
ISC License
159 stars 22 forks source link

Plugin continues working in background after window is closed #28

Closed MolotovCherry closed 9 years ago

MolotovCherry commented 9 years ago

I put some popup code in one of the calls, and found out that the plugin continues to operate in the background even after clicking the red X to close the window. Perhaps there's some way to abort the running task if the window gets closed, or keep the window from being closed and provide a Quit button in the UI.

wilddom commented 9 years ago

Nice one ;) I will need to have a closer look into the Qt api.

wilddom commented 9 years ago

Do you have a close button in the title bar of that dialog?

MolotovCherry commented 9 years ago

Yes, I see a close button in the title bar. I am using Windows 10. capture

MolotovCherry commented 9 years ago

Confirmed. Your latest commit prevents closing the dialog when it's running.