summaryrefslogtreecommitdiff
path: root/ui/qt/io_graph_dialog.h
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2017-03-28 18:19:23 +0200
committerPeter Wu <peter@lekensteyn.nl>2017-04-05 09:26:59 +0000
commita5f9b4e06dffa34e795f3abb1e44d4e7ec7cdfa9 (patch)
tree678c5bbc46cf31708f0a605fa270214989ad4b7f /ui/qt/io_graph_dialog.h
parent48a614da2eae8b1f54cdfa9c7d0d2c22275a9e07 (diff)
downloadwireshark-a5f9b4e06dffa34e795f3abb1e44d4e7ec7cdfa9.tar.gz
Qt: fix tracer and selection of packet in IO Graph
Do not assume first graph in the list, pick the first visible graph. This (1) fixes the tracer which would otherwise show a marker at an non-obvious position that is not located on the graph and (2) fixes the GoToPacket action when clicking on the graph. Bug: 13537 Change-Id: I49d750102ad25c8539aa2e44fe1583cd535dd471 Reviewed-on: https://code.wireshark.org/review/20768 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/qt/io_graph_dialog.h')
-rw-r--r--ui/qt/io_graph_dialog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/io_graph_dialog.h b/ui/qt/io_graph_dialog.h
index 55e32f9838..d76c6cc638 100644
--- a/ui/qt/io_graph_dialog.h
+++ b/ui/qt/io_graph_dialog.h
@@ -208,6 +208,7 @@ private:
void loadProfileGraphs();
void makeCsv(QTextStream &stream) const;
bool saveCsv(const QString &file_name) const;
+ IOGraph *currentActiveGraph() const;
private slots:
void updateWidgets();