boilerplate.py Missing setRedraw(False) ?

"Matt Miller" <matt.miller-97jfqw80gc5Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.graphics.scribus
Message-ID <[email protected]>
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-97jfqw80gc5Wk0Htik3J/[email protected]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20210304/199bd87a/attachment.htm>
___
Scribus Mailing List: [email protected]
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.