pressing escape and back on friend's profile returns to own profile #1615
Conversation
|
Hello, |
|
Hi, I checked, yes, technically you are right (I missed that you can't leave this screen with a different profile activated. But the state manager should now handle any screen specific settings - it is very hard to understand the code if you study (say) this screen, since it's not obvious that in a completely unrelated helper class the behaviour is modified. if (getCurrentScreen() != NULL &&
getCurrentScreen()->onEscapePressed()) popMenu();The state manager calls onEscapePressed, and only if that returns true will it pop the menu. So you can easily handle that by adding the (virtual) function onEscapePressed. Hope that helps, and thanks for your work! |
f3ac178
to
7d38d52
Also, fixed bug where user info dialog was accessing m_enter_profile after it was deleted
|
I've put it in the onEscapePressed function. I fixed a minor bug i found in another file too. :) |
|
Thanks a lot - and good catch with the bug ;) |
for issue #1611