Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

WPushBitton clicked() can be called issued twice #155

@Nuxar1

Description

@Nuxar1

When doing the following

	auto button = actions->addNew<Wt::WPushButton>("Delete");
	button->clicked().connect([=] () mutable {
		button->disable();
	});

it is still possible to click the button twice by pressing enter and left mouse button at the same time. Is there a "clean" way to only have one single call possible per button (e.g. to delete someting from the site)

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