roundabout,
created on Wednesday, 30 April 2025, 15:55:00 (1746028500),
received on Wednesday, 30 April 2025, 15:55:03 (1746028503)
Author identity: vlad <vlad.muntoiu@gmail.com>
5473e499df718529b73be1553f4bfba2a59b997e
gpanthera.cc
@@ -632,7 +632,12 @@ namespace gPanthera {
drop_target->signal_drop().connect([this](const Glib::ValueBase &value, double x, double y) {
if(const auto &widget = static_cast<const Glib::Value<ContentPage*>&>(value).get()) {
if(auto page = dynamic_cast<ContentPage*>(widget)) {
this->stack->add_page(*page);
if(page->get_stack() == this->stack) {
this->stack->remove(*page);
this->stack->add(*page);
} else {
this->stack->add_page(*page);
}
}
}