set nullptr after delete

This commit is contained in:
yggverse 2024-08-15 00:25:31 +03:00
parent 5cfc084a53
commit 35b9f74268

View File

@ -103,7 +103,7 @@ void Navbar::refresh()
&& !url->path.empty() && !url->path.empty()
); );
delete url; delete url; url = nullptr;
// Toggle update button sensibility // Toggle update button sensibility
update->set_sensitive( update->set_sensitive(