Skip to content

Commit 97df52c

Browse files
committed
Merge pull request godotengine#106338 from lalitshankarch/make-buttons-accessible
AudioStreamImport: Make play and stop buttons accessible through keyboard
2 parents b7c4f23 + 18eaa97 commit 97df52c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

editor/import/audio_stream_import_settings.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,14 +644,12 @@ AudioStreamImportSettingsDialog::AudioStreamImportSettingsDialog() {
644644
_play_button->set_accessibility_name(TTRC("Play"));
645645
_play_button->set_flat(true);
646646
hbox->add_child(_play_button);
647-
_play_button->set_focus_mode(Control::FOCUS_NONE);
648647
_play_button->connect(SceneStringName(pressed), callable_mp(this, &AudioStreamImportSettingsDialog::_play));
649648

650649
_stop_button = memnew(Button);
651650
_stop_button->set_accessibility_name(TTRC("Stop"));
652651
_stop_button->set_flat(true);
653652
hbox->add_child(_stop_button);
654-
_stop_button->set_focus_mode(Control::FOCUS_NONE);
655653
_stop_button->connect(SceneStringName(pressed), callable_mp(this, &AudioStreamImportSettingsDialog::_stop));
656654

657655
_current_label = memnew(Label);

0 commit comments

Comments
 (0)