Wrong size and content of dialog after second show() Follow
I extended DialogWrapper to create status dialog.
<![CDATA[ StatusDialog dlg = new StatusDialog(this.getProject()); dlg.setMessage(status); dlg.show(); ]]>
after this code executes, I see dialog in right Size and with right content. Than I do
<![CDATA[ dlg.close(0); ]]>
It disappears. Now, if I try to show it again,
<![CDATA[ dlg.show(); ]]>
dialog appears in wrong size and has nothing inside. I am forced to recreate this dialog newly ever again.
Is there any possibility to avoid that? Thanks!
Please sign in to leave a comment.