Hello everybody, I wrote in my application this code:
static int COUNT = 0;
articleTable.selectionModel().selectionChanged.connect(this, "changeArticle(QItemSelection, QItemSelection)");
public void changeArticle(QItemSelection current, QItemSelection previous) {
log.debug("<begin> changeArticle");
log.debug("COUNT: " + ++COUNT);
log.debug("<end> changeArticle");
}
When I selecting one alone time a row in a table, the output is:
COUNT: 1
COUNT: 2
COUNT: 3
COUNT: 4
Seem that I have selected an item four times.
thanks to all