quick commit

This commit is contained in:
2026-02-03 18:47:54 +01:00
parent b9f5eea4af
commit a048d7ae7a
3 changed files with 5 additions and 7 deletions

View File

@@ -7,14 +7,12 @@ Popover::Popover(const std::string icon, std::string name): Button(icon) {
this->add_css_class("material-icons");
popover = new Gtk::Popover();
popover = std::make_unique<Gtk::Popover>();
popover->set_parent(*this);
popover->set_autohide(true);
}
Popover::~Popover() {
delete popover;
}
Popover::~Popover() = default;
void Popover::on_toggle_window() {
if (popover->get_visible()) {