<p></p>
<p>I believe it is already bound to a lose focus event because I can make it save by doing things other than hitting enter, like clicking random things. Just doesn't seem to think it's losing focus when I hit esc or the ok button. Actually, I think gtk has switch focus calls, could try see if calling one of those still invokes the lose focus. If it does, we could switch focus to some unused, hidden if possible, widget to force the update before closing the dialog, a little hacky</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2868#issuecomment-901108809">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4WUM5LIF2K4LL577DT5OXMJANCNFSM5CLLX5EA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2JQGMWRMHYWJSQR3LT5OXMJA5CNFSM5CLLX5EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGW25ISI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2868#issuecomment-901108809",
"url": "https://github.com/geany/geany/issues/2868#issuecomment-901108809",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>