Removing rows can make longer rows move into the visible region, so we also must trigger a column resize
| 162 | // Removing rows can make longer rows move into the visible region, so we also must trigger a |
| 163 | // column resize |
| 164 | void FocusedTreeView::rowsRemoved(const QModelIndex& parent, int first, int last) |
| 165 | { |
| 166 | Q_D(FocusedTreeView); |
| 167 | |
| 168 | QTreeView::rowsRemoved(parent, first, last); |
| 169 | |
| 170 | if (!d->timer.isActive()) |
| 171 | d->timer.start(); |
| 172 | } |
| 173 | |
| 174 | } |
| 175 |