[scribus] boilerplate.py Missing setRedraw(False) ?

Matt Miller matt.miller at fastmail.com
Thu Mar 4 16:19:05 UTC 2021


I see that the docstring for main_wrapper in boilerplate.py in the samples directory includes:

The main_wrapper() function disables redrawing, ... 

but then I don't see code for doing that in the "try" block.  The "finally" block has:

if scribus.haveDoc():
    scribus.setRedraw(True)

so I'm wondering if the "try" block should include:

if scribus.haveDoc():
    scribus.setRedraw(False)

Thanks.


--

  Matt Miller
  mailto:matt.miller at fastmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20210304/199bd87a/attachment.htm>


More information about the scribus mailing list