Allow scripts to be executed when there is no paintable layer
Note that scripts that don't check whether there's a paintable layer when they need it will give problems: that's up to the user to handle. BUG:459495 (cherry picked from commit c3c57b4a7ec350acdd07ed9e532e6c20d87d21e9)
Please register or sign in to comment