mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
Fixed bug in message-box (user-consent) introduced in older zenity platforms
This commit is contained in:
@@ -367,7 +367,7 @@ function linux_messageBox()
|
||||
}
|
||||
if (this.zenity)
|
||||
{
|
||||
if (!this.zenity.extra && layout.length > 1)
|
||||
if (!this.zenity.extra && Array.isArray(layout) && layout.length > 1)
|
||||
{
|
||||
ret._rej('This system does not support custom button layouts');
|
||||
return (ret);
|
||||
|
||||
Reference in New Issue
Block a user