How to best combine DialogWrapper and Task.Modal

I have a modal dialog on screen in my plugin which extends the DialogWrapper class. This dialog in turn shows another modal dialog.
When the second dialog finishes I perform some task using a Task.Modal subclass, but instead of showing the indeterminate progress dialog for that task the UI is blocked until the task completes.
Do you have any pointers or best practices on how to combine the two?


Comment actions Permalink

Normally this should just work. Can you show how exactly you're starting the modal operation?

Comment actions Permalink

Just following up because I hate open threads. Unfortunately I can't share the code since it's proprietary. I remember I resolved the issue by not using a modal dialog in this particular case.


Please sign in to leave a comment.