Browse Source

remove grab_focus from initiation case

PHP-GTK3
yggverse 4 months ago
parent
commit
fe5f59ad4a
  1. 6
      src/Abstract/Entity/Entry.php

6
src/Abstract/Entity/Entry.php

@ -12,7 +12,6 @@ abstract class Entry @@ -12,7 +12,6 @@ abstract class Entry
protected string $_placeholder = '';
protected string $_value = '';
protected bool $_visible = true;
protected bool $_focus = false;
public function __construct()
{
@ -34,11 +33,6 @@ abstract class Entry @@ -34,11 +33,6 @@ abstract class Entry
$this->_visible
);
if ($this->_focus)
{
$this->gtk->grab_focus();
}
// Render
$this->gtk->show();

Loading…
Cancel
Save