summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GTreeView.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-15 17:02:02 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-15 17:02:44 +0100
commitd4a570d576f7b8aeb9f9a7656b57a725d9bb2fbe (patch)
tree9c201c9761a68ccdb73f8828cb6c28310a9d7d89 /Libraries/LibGUI/GTreeView.h
parent05a441afb21d436749998b12ae61dfbc95aea52c (diff)
downloadserenity-d4a570d576f7b8aeb9f9a7656b57a725d9bb2fbe.zip
LibGUI: Fix GTreeView not showing the context menu
This logic is all taken care of by GAbstractColumnView now, so we can simply delete GTreeView::context_menu_event(). :^) Fixes an issue mentioned in #826
Diffstat (limited to 'Libraries/LibGUI/GTreeView.h')
-rw-r--r--Libraries/LibGUI/GTreeView.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GTreeView.h b/Libraries/LibGUI/GTreeView.h
index bbcf99f1a1..d6d0a01b6b 100644
--- a/Libraries/LibGUI/GTreeView.h
+++ b/Libraries/LibGUI/GTreeView.h
@@ -19,7 +19,6 @@ protected:
virtual void keydown_event(GKeyEvent&) override;
virtual void did_update_selection() override;
virtual void did_update_model() override;
- virtual void context_menu_event(GContextMenuEvent&) override;
private:
virtual GModelIndex index_at_event_position(const Point&, bool& is_toggle) const override;