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>
This commit is contained in:
parent
0a33e352f4
commit
7e06334a87
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue