mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Fix: Input field lost focus after confirm() and alert()
This commit is contained in:
parent
324d700afa
commit
6af70e96dd
5 changed files with 12 additions and 12 deletions
|
@ -542,7 +542,7 @@ GUI_control.prototype.update_dataflash_global = function () {
|
|||
};
|
||||
|
||||
/**
|
||||
* Don't use alert() in Electron, it has a nasty bug: https://github.com/electron/electron/issues/31917
|
||||
* Don't use alert() or confirm() in Electron, it has a nasty bug: https://github.com/electron/electron/issues/31917
|
||||
*/
|
||||
GUI_control.prototype.alert = function(message) {
|
||||
dialog.showMessageBoxSync({ message: message, icon: "./images/inav_icon_128.png" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue