This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re: underline_block.py bug?

Posted by: Anonymous [ip: 217.33.124.146] on February 14, 2008 08:37 AM
It would make more sense to do

sel_count = selectionCount()

if sel_count == 0:
messageBox("underline_block.py",
"Please select the object to add a line to before running this script.",
ICON_INFORMATION)
sys.exit(1)N

userUnit = getUnit()
setUnit(1)

#

Return to Scripting Scribus