aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_preferences_frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/capture_preferences_frame.cpp')
-rw-r--r--ui/qt/capture_preferences_frame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/capture_preferences_frame.cpp b/ui/qt/capture_preferences_frame.cpp
index 08f1271b0e..54aba54e6c 100644
--- a/ui/qt/capture_preferences_frame.cpp
+++ b/ui/qt/capture_preferences_frame.cpp
@@ -69,7 +69,8 @@ void CapturePreferencesFrame::updateWidgets()
default_device_string = prefs_get_string_value(pref_device_, pref_stashed);
}
ui->defaultInterfaceComboBox->clear();
- if (global_capture_opts.all_ifaces->len == 0 && !pref_no_interface_load_) {
+ if ((global_capture_opts.all_ifaces->len == 0) &&
+ (prefs_get_bool_value(pref_no_interface_load_, pref_stashed) == FALSE)) {
/*
* No interfaces - try refreshing the local interfaces, to
* see whether any have showed up (or privileges have changed