From 9beea85920ea89a635675e61ddc29aaa964d4081 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 22 Jul 2024 14:07:59 +0300 Subject: [PATCH] add source_remove on request change --- src/Entity/Browser/Container/Page/Navbar/Request.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Entity/Browser/Container/Page/Navbar/Request.php b/src/Entity/Browser/Container/Page/Navbar/Request.php index 30f1069d..8a8be946 100644 --- a/src/Entity/Browser/Container/Page/Navbar/Request.php +++ b/src/Entity/Browser/Container/Page/Navbar/Request.php @@ -48,7 +48,11 @@ class Request extends Entry // Reset previous event if ($this->_changed) { - // @TODO source_remove #125 + \Gtk::source_remove( + $this->_changed + ); + + $this->_changed = null; } // Wait for one second to apply act @@ -58,6 +62,8 @@ class Request extends Entry { $this->navbar->page->container->tab->update(); + $this->_changed = null; + return false; // stop } );