summaryrefslogtreecommitdiff
path: root/Applications/Piano/SamplerWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Piano/SamplerWidget.cpp')
-rw-r--r--Applications/Piano/SamplerWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Piano/SamplerWidget.cpp b/Applications/Piano/SamplerWidget.cpp
index bb6fa5a31c..aeffcfefe2 100644
--- a/Applications/Piano/SamplerWidget.cpp
+++ b/Applications/Piano/SamplerWidget.cpp
@@ -105,7 +105,7 @@ SamplerWidget::SamplerWidget(TrackManager& track_manager)
m_open_button = m_open_button_and_recorded_sample_name_container->add<GUI::Button>();
m_open_button->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fixed);
m_open_button->set_preferred_size(24, 24);
- m_open_button->set_focusable(false);
+ m_open_button->set_focus_policy(GUI::FocusPolicy::TabFocus);
m_open_button->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/open.png"));
m_open_button->on_click = [this](auto) {
Optional<String> open_path = GUI::FilePicker::get_open_filepath(window());