Fix SwatNoteBook::printWidgetTree().