Editor::reset_focus ()
{
track_canvas->grab_focus();
Editor::reset_focus ()
{
track_canvas->grab_focus();
- cerr << "Track canvas now has focus? " << track_canvas->has_focus() << endl;
- cerr << "GAin display activated\n";
-
{
// Switch to user's preferred locale so that
// if they use different LC_NUMERIC conventions,
{
// Switch to user's preferred locale so that
// if they use different LC_NUMERIC conventions,
if (gain_display.has_focus()) {
PublicEditor::instance().reset_focus();
if (gain_display.has_focus()) {
PublicEditor::instance().reset_focus();
- cerr << "reset focus\n";
- } else {
- cerr << "leave focus alone\n";