QTableView::setColumnHidden after the inital painting of the table
I have a QTableView where I what to show and hide columns based on other actions that take place. It seems that setColumnHidden only works the first time. In other words, the first time it is set to true, then an signal is fired and the code sets it to false but it is never displayed.
Whats up with that?