when destroying an ArdourDialog, be sure the Keyboard object knows about it.

It seems that there are ways to destroy a window without it emitting focus out
This commit is contained in:
Paul Davis 2016-06-07 18:28:32 -04:00
parent 3933475cf2
commit 207fa93cf9

View File

@ -60,7 +60,8 @@ ArdourDialog::~ArdourDialog ()
spl->pop_front();
}
}
WM::Manager::instance().remove (proxy);
Keyboard::the_keyboard().focus_out_window (0, this);
WM::Manager::instance().remove (proxy);
}
bool