Disable "Refresh Interfaces" when capturing
It breaks restarts, and doesn't do anything useful at this point anyways. Bug: 11176 Change-Id: I6a010becf851fea8690b445874b29b54546fb2e3 Reviewed-on: https://code.wireshark.org/review/9106 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
0d28caf880
commit
89cc85b5ef
|
@ -1827,6 +1827,7 @@ void MainWindow::setMenusForCaptureInProgress(bool capture_in_progress) {
|
|||
main_ui_->actionCaptureStart->setChecked(capture_in_progress);
|
||||
main_ui_->actionCaptureStop->setEnabled(capture_in_progress);
|
||||
main_ui_->actionCaptureRestart->setEnabled(capture_in_progress);
|
||||
main_ui_->actionCaptureRefreshInterfaces->setEnabled(!capture_in_progress);
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue