set default value on null given

This commit is contained in:
yggverse 2024-07-07 20:47:43 +03:00
parent 2b0077c5be
commit 6086c6a687

View File

@ -67,7 +67,7 @@ abstract class Entry
): void
{
$this->gtk->set_text(
trim(
is_null($value) ? $this->_value : trim(
strval(
$value
)