Browse Source

add source_remove on request change

PHP-GTK3
yggverse 4 months ago
parent
commit
9beea85920
  1. 8
      src/Entity/Browser/Container/Page/Navbar/Request.php

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

@ -48,7 +48,11 @@ class Request extends Entry
// Reset previous event // Reset previous event
if ($this->_changed) if ($this->_changed)
{ {
// @TODO source_remove #125 \Gtk::source_remove(
$this->_changed
);
$this->_changed = null;
} }
// Wait for one second to apply act // Wait for one second to apply act
@ -58,6 +62,8 @@ class Request extends Entry
{ {
$this->navbar->page->container->tab->update(); $this->navbar->page->container->tab->update();
$this->_changed = null;
return false; // stop return false; // stop
} }
); );

Loading…
Cancel
Save