From 6003d3b2f677d9e15f24169762d1747df0d7e1fe Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 6 Sep 2013 00:41:07 +0000 Subject: 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 --- ui/tap-tcp-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/tap-tcp-stream.c') 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, ¤t); + if (!select_tcpip_session(cf, ¤t)) return; if (tg->type == GRAPH_THROUGHPUT) ts.direction = COMPARE_CURR_DIR; else -- cgit v1.2.3