add source_remove on request change

This commit is contained in:
yggverse 2024-07-22 14:07:59 +03:00
parent 5b3d22621a
commit 9beea85920

View file

@ -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
} }
); );