From 05b8df6da974f7fbfb6888787aa2596ddb69ea4d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 19 Nov 2022 22:02:21 +0100 Subject: [PATCH] Item::grab_focus was a NO-OP (see 34e7c2ffc59) --- gtk2_ardour/midi_region_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index e0243ece7a..d4f6885994 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -3633,7 +3633,7 @@ MidiRegionView::patch_entered (PatchChange* p) << instrument_info().get_patch_name_without (p->patch()->bank(), p->patch()->program(), p->patch()->channel()) << '\n' << _("Channel ") << ((int) p->patch()->channel() + 1); show_verbose_cursor (s.str(), 10, 20); - p->item().grab_focus(); + //p->item().grab_focus(); } void @@ -3653,7 +3653,7 @@ MidiRegionView::sysex_entered (SysEx* p) // need a way to extract text from p->_flag->_text // s << p->text(); // show_verbose_cursor (s.str(), 10, 20); - p->item().grab_focus(); + //p->item().grab_focus(); } void