mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
delegate _onKeyRelease to _onChanged
This commit is contained in:
parent
9beea85920
commit
27332b2828
1 changed files with 7 additions and 3 deletions
|
|
@ -33,15 +33,19 @@ class Request extends Entry
|
||||||
\GdkEvent $event
|
\GdkEvent $event
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
$this->navbar->refresh();
|
// Delegate
|
||||||
|
$this->_onChanged(
|
||||||
$this->navbar->page->container->tab->update();
|
$entry
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _onChanged(
|
protected function _onChanged(
|
||||||
\GtkEntry $entry
|
\GtkEntry $entry
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
|
// Refresh navigation elements
|
||||||
|
$this->navbar->refresh();
|
||||||
|
|
||||||
// Update session on tab initiated only
|
// Update session on tab initiated only
|
||||||
if (isset($this->navbar->page->container->tab))
|
if (isset($this->navbar->page->container->tab))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue