Skip to content

How "save_visibility_state" works? #354

@adrimg89

Description

@adrimg89

I am running this code:

    question=uc.get_user_bool(f'Han sido seleccionados {len(valores)} elementos. ¿Desea aislarlos en la vista?',True)
    if question:
        vc.save_visibility_state()
        vc.hide_all_elements()
        vc.set_visible([int(eid) for eid in valores])

but it return always the same error:

    vc.save_visibility_state()
TypeError: Unable to convert function return value to a Python type! The signature was
	() -> visibility_state

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions