hi
i have pickup calendar combined text buton and calendar but if i click on same day i get notified but calendar wont close …there is no error but simply popdown doesnt execute. if i have selected 31.1.2025 and call calendar and click again on 31.1.2025 popdown does not execute.
code looks like this where on change is currently null but it is ment as callback function…
void rhea::PickupDT::on_my_day_selected(){
newDate = calendar->get_date();
popBox->popdown();
std::string str = std::to_string(newDate.get_day_of_month())+". "+std::to_string(newDate.get_month())+". "+std::to_string(newDate.get_year());
text->get_buffer()->set_text(str);
if(onChange){
onChange(oldDate,newDate);
}
oldDate = newDate;
}