mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove grab_focus from initiation case
This commit is contained in:
parent
ff3fb354b4
commit
fe5f59ad4a
1 changed files with 0 additions and 6 deletions
|
|
@ -12,7 +12,6 @@ abstract class Entry
|
||||||
protected string $_placeholder = '';
|
protected string $_placeholder = '';
|
||||||
protected string $_value = '';
|
protected string $_value = '';
|
||||||
protected bool $_visible = true;
|
protected bool $_visible = true;
|
||||||
protected bool $_focus = false;
|
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|
@ -34,11 +33,6 @@ abstract class Entry
|
||||||
$this->_visible
|
$this->_visible
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($this->_focus)
|
|
||||||
{
|
|
||||||
$this->gtk->grab_focus();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Render
|
// Render
|
||||||
$this->gtk->show();
|
$this->gtk->show();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue