Thread
:
config_widget doesn't allow early exit
View Single Post
02-13-2011, 09:44 AM
#
10
kovidgoyal
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I just committed code that allows you to return a tuple (msg, details) from config_widget() that will cause a warning dialog to be shown and the process to abort.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS