kopia lustrzana https://github.com/jamescoxon/dl-fldigi
Restore focus
* inhibit restoreFocus when event is from external source such as an xmlrpc callbackpull/4/head
rodzic
aa6592c59b
commit
19e7bad771
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue