diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-03 21:31:47 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-09 17:01:43 +0000 |
commit | 7e06334a87faf64c58a8dbc916480027a21a3aef (patch) | |
tree | fbb8bad42163e206b6b3346ded03e8eeb634943e /ui | |
parent | 0a33e352f4116b850cded331482e3a9171cc6306 (diff) |
Qt: Disable Refresh Interfaces while refreshing
Doing multiple Refresh Interfaces simultaneously will end up in
duplicated interfaces.
Change-Id: If9bb4252bbfabc557b78ad42efc0011050012417
Reviewed-on: https://code.wireshark.org/review/12414
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/main_window_slots.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index 665f6031d1..6c57504fd9 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -3532,7 +3532,9 @@ void MainWindow::on_actionCaptureOptions_triggered() void MainWindow::on_actionCaptureRefreshInterfaces_triggered() { + main_ui_->actionCaptureRefreshInterfaces->setEnabled(false); wsApp->refreshLocalInterfaces(); + main_ui_->actionCaptureRefreshInterfaces->setEnabled(true); } #endif |