diff options
| author | Brian Potchik <brian@vector35.com> | 2020-12-26 18:22:59 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-12-26 18:22:59 -0500 |
| commit | ab3eafca72e8c8ed3d17615f295cc245f833117f (patch) | |
| tree | 51642a5e589c4ff10221ea5d9acff62b2f79a7bc /ui/minigraph.h | |
| parent | fd3764d12e880aceec30ee00efbd7ebe6925f0e1 (diff) | |
Cleanup Mini Graph visibility handling.
Diffstat (limited to 'ui/minigraph.h')
| -rw-r--r-- | ui/minigraph.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/minigraph.h b/ui/minigraph.h index 54bf400b..8af61e83 100644 --- a/ui/minigraph.h +++ b/ui/minigraph.h @@ -18,13 +18,15 @@ class BINARYNINJAUIAPI MiniGraph: public QWidget, public DockContextHandler Q_OBJECT Q_INTERFACES(DockContextHandler) + ViewFrame* m_frame; FlowGraphWidget* m_flowGraphWidget = nullptr; public: - MiniGraph(QWidget* parent); + MiniGraph(ViewFrame* frame); ~MiniGraph(); virtual void notifyViewChanged(ViewFrame* frame) override; + virtual void notifyVisibilityChanged(bool visible) override; virtual bool shouldBeVisible(ViewFrame* frame) override; protected: |
