aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tap-tcp-stream.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-09-06 00:41:07 +0000
committerGerald Combs <gerald@wireshark.org>2013-09-06 00:41:07 +0000
commit6003d3b2f677d9e15f24169762d1747df0d7e1fe (patch)
tree878e1da0b2babe59d9b3f42b3d30f506219926f5 /ui/tap-tcp-stream.c
parent96d29a5d50a94b79513d63860012efe6384a5a8c (diff)
Throughput graph usability updates.
Make the stream graph dialog modeless and let the user open multiple instances. The dangling dialog behaves similar to the GTK+ version. Add a setDissectedCaptureFile signal to MainWindow (currently unused). Properly transform yAxis2 and simplify resetAxes while we're at it. Other bug fixes. svn path=/trunk/; revision=51795
Diffstat (limited to 'ui/tap-tcp-stream.c')
-rw-r--r--ui/tap-tcp-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tap-tcp-stream.c b/ui/tap-tcp-stream.c
index dffa6cd15d..e2359dacf1 100644
--- a/ui/tap-tcp-stream.c
+++ b/ui/tap-tcp-stream.c
@@ -111,7 +111,7 @@ graph_segment_list_get(capture_file *cf, struct tcp_graph *tg, gboolean stream_k
if (!cf || !tg) return;
if (!stream_known) {
- select_tcpip_session(cf, &current);
+ if (!select_tcpip_session(cf, &current)) return;
if (tg->type == GRAPH_THROUGHPUT)
ts.direction = COMPARE_CURR_DIR;
else