| 595 | } |
| 596 | |
| 597 | void ProtocolDock::column_resize(int index, int old_size, int new_size) |
| 598 | { |
| 599 | (void)index; |
| 600 | (void)old_size; |
| 601 | (void)new_size; |
| 602 | pv::data::DecoderModel *decoder_model = _session->get_decoder_model(); |
| 603 | if (decoder_model->getDecoderStack()) { |
| 604 | int top_row = _table_view->rowAt(0); |
| 605 | int bom_row = _table_view->rowAt(_table_view->height()); |
| 606 | if (bom_row >= top_row && top_row >= 0) { |
| 607 | for (int i = top_row; i <= bom_row; i++) |
| 608 | _table_view->resizeRowToContents(i); |
| 609 | } |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | void ProtocolDock::export_table_view() |
| 614 | { |
nothing calls this directly
no test coverage detected