delegate _onKeyRelease to _onChanged

This commit is contained in:
yggverse 2024-07-22 14:15:24 +03:00
parent 9beea85920
commit 27332b2828

View file

@ -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))
{ {