From Thomas ERSFELD (GSoC13)
Hiding monitor column when not available svn path=/trunk/; revision=53809
This commit is contained in:
parent
f9c27ac0d8
commit
d1e904b518
|
@ -292,6 +292,8 @@ void CaptureInterfacesDialog::UpdateInterfaces()
|
|||
#if defined (HAVE_PCAP_CREATE)
|
||||
output = QString(device.monitor_mode_enabled ? "true" : "false");
|
||||
ui->tbInterfaces->setItem(ui->tbInterfaces->rowCount()-1, MONITOR, new QTableWidgetItem(output));
|
||||
#else
|
||||
ui->tbInterfaces->setColumnHidden(BUFFER+1, true);
|
||||
#endif
|
||||
|
||||
if (strstr(prefs.capture_device, device.name) != NULL) {
|
||||
|
|
Loading…
Reference in New Issue