* inhibit restoreFocus when event is from external source
    such as an xmlrpc callback
pull/4/head
David Freese 2016-05-20 08:24:02 -05:00
rodzic aa6592c59b
commit 19e7bad771
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1842,6 +1842,7 @@ void set_default_charset(void)
// if w is not NULL, give focus to TransmitText only if the last event was an Enter keypress
void restoreFocus(int n)
{
if (Fl::focus() == NULL) return;
if (!active_modem) {
TransmitText->take_focus();
return;