summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-23 01:00:26 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-23 08:00:34 +0000
commit6b0923a6403649fd23d650396482bb9b2b6b757f (patch)
treeb7e138c88940cb79864784193e940ffa678ed43a /ui
parent2c8056acdf267c8e36fdfb6a3af286972d27f655 (diff)
downloadwireshark-6b0923a6403649fd23d650396482bb9b2b6b757f.tar.gz
No pcap, no live capture, so no auto_scroll_live.
Change-Id: Ic1993916cdb78c946bb291fa59f7cdc25e9cef2d Reviewed-on: https://code.wireshark.org/review/16088 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window_slots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 38a441b1a7..0c1aa4c152 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -1545,7 +1545,9 @@ void MainWindow::setFeaturesEnabled(bool enabled)
if(enabled)
{
main_ui_->statusBar->clearMessage();
+#ifdef HAVE_LIBPCAP
main_ui_->actionGoAutoScroll->setChecked(auto_scroll_live);
+#endif
}
else
{