summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GAbstractView.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2020-01-10 18:50:26 +0300
committerAndreas Kling <awesomekling@gmail.com>2020-01-10 17:45:59 +0100
commit0f18a16e2c855a99e5c261793a8d36565b410a72 (patch)
tree436dad119010b10f32ab95ca7a28f6fb54d8d2d1 /Libraries/LibGUI/GAbstractView.h
parentcaa08938e5c9bd399ce5bd69e09aed506d963eb4 (diff)
downloadserenity-0f18a16e2c855a99e5c261793a8d36565b410a72.zip
LibGUI: Add GAbstractView::activate_selected()
This is a nice little utility to activate all the selected items, which is what you usually want to do.
Diffstat (limited to 'Libraries/LibGUI/GAbstractView.h')
-rw-r--r--Libraries/LibGUI/GAbstractView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/GAbstractView.h b/Libraries/LibGUI/GAbstractView.h
index 2f8feb6ee0..e3c9edf33f 100644
--- a/Libraries/LibGUI/GAbstractView.h
+++ b/Libraries/LibGUI/GAbstractView.h
@@ -51,6 +51,7 @@ protected:
virtual void did_scroll() override;
void activate(const GModelIndex&);
+ void activate_selected();
void update_edit_widget_position();
bool m_editable { false };