2023-04-16 11:37 PM - edited 2023-11-20 07:58 AM
I've created a list and need to get value from model.hpp and using
WeeklyScheduleView objs;
drops = objs.getDropDownClicks();
to get value. But when it calls it crashes.
2023-04-17 03:31 AM
Check if presenter is a valid pointer, maybe it is uninitialized.
2023-04-17 04:14 AM - edited 2023-11-20 07:58 AM
Do you mean about this?
2023-04-17 04:18 AM
Set a breakpoint to the line return presenter->getScheduleDropDown() and see if presenter has a valid address or check at runtime with if (presenter != nullptr) { the line before
2023-04-17 05:02 AM - edited 2023-11-20 07:59 AM
When I debug it crashes at this point but when I do not call another object it works fine.
i've tried to comment this function and still crashes:
2023-04-20 02:13 AM
Hello heyo,
It crashes at Drop.remove(ProfileDrop[i]) or drops = objs.getDropDownClicks() ?
Also, what is your Drop object?
/Osman
2023-04-20 02:22 AM
At drops = objs.getDropDownClicks(). It always crashes when I try to call function in other class.
Do you mean Drop? Drop is a list. The only way calls other function in other class works when container is included in view window
2023-05-08 04:11 AM
Hello,
Did you resolve your issue? If not, can you share your project?
/Osman