Project

General

Profile

Remove clicked in WTableCell

Added by Samuele Pederzini over 3 years ago

Hi,
I have a problem: I don't know how to remove "clicked" in WTableCell.
This is my code of the click event:

table_->elementAt( this->row, collumn)->clicked().connect(bindSafe([this,number, id, mycl]{
        int myNumber = number-1;
        done_alone_.emit(myNumber, "Totally done", id,mycl);
    }));

Thanks


Replies (1)

RE: Remove clicked in WTableCell - Added by Wim Dumon over 3 years ago

Samuele,

connect returns an object, which has a method to disconnect the connection.

    (1-1/1)