| 598 | } |
| 599 | |
| 600 | void NetSchedulerDialog::onEdit() |
| 601 | { |
| 602 | const int row = selectedRow(); |
| 603 | if (row < 0 || row >= m_entries.size()) |
| 604 | return; |
| 605 | NetEntry e = m_entries.at(row); |
| 606 | if (!editNetEntry(this, e, m_capture, /*isNew=*/false)) |
| 607 | return; |
| 608 | m_entries[row] = e; |
| 609 | commit(); |
| 610 | m_table->setCurrentCell(row, 1); |
| 611 | } |
| 612 | |
| 613 | void NetSchedulerDialog::onRemove() |
| 614 | { |
nothing calls this directly
no test coverage detected