Browse Source

delegate _onKeyRelease to _onChanged

PHP-GTK3
yggverse 4 months ago
parent
commit
27332b2828
  1. 10
      src/Entity/Browser/Container/Page/Navbar/Request.php

10
src/Entity/Browser/Container/Page/Navbar/Request.php

@ -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…
Cancel
Save