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
|
||||
): void
|
||||
{
|
||||
$this->navbar->refresh();
|
||||
|
||||
$this->navbar->page->container->tab->update();
|
||||
// Delegate
|
||||
$this->_onChanged(
|
||||
$entry
|
||||
);
|
||||
}
|
||||
|
||||
protected function _onChanged(
|
||||
\GtkEntry $entry
|
||||
): void
|
||||
{
|
||||
// Refresh navigation elements
|
||||
$this->navbar->refresh();
|
||||
|
||||
// Update session on tab initiated only
|
||||
if (isset($this->navbar->page->container->tab))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue