View Single Post
Old 02-17-2010, 01:35 PM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,434
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The plugin should either raise an exception or return the original file path on failure.

Make your message box non modal, it will then not interrupt the adding process and will still be there when the adding dialog closes.

EDIT: Actually, no that wont work, since the message box is cerated ina separate process that dies after adding is done

Instead you can try calling

self.raise_()

Last edited by kovidgoyal; 02-17-2010 at 01:58 PM.
kovidgoyal is offline   Reply With Quote