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