diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-24 14:33:27 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-24 21:43:13 +0000 |
commit | 89cc85b5efce579aeda3cfaeb0d74551b229acc4 (patch) | |
tree | 2e14b28eea4819e62a1c0928c979751fbdba0f2b /ui/qt | |
parent | 0d28caf88016e56a0e9ef9d47fe5e7c7e9880e90 (diff) |
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>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/main_window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 53d1f097f1..2754714c75 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -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 */ } |