View Single Post
11/15/14, 04:31 AM   #10
Sir Tigär
Join Date: Jul 2014
Posts: 9
Originally Posted by merlight View Post
Ok I tried another way, basically what I used in an add-on that just opened mailSend and pre-filled the fields; adding return to previous scene:

Lua Code:
  1. local returnScene = SCENE_MANAGER:GetCurrentScene():GetName()
  2. SCENE_MANAGER:Show("mailSend")
  3. SCENE_MANAGER:CallWhen("mailSend", SCENE_SHOWN, function()
  4.     d("shown " .. SCENE_MANAGER:GetCurrentScene():GetName())
  5.     d("going back to " .. returnScene)
  6.     if returnScene then
  7.         SCENE_MANAGER:Show(returnScene)
  8.     else
  9.         SCENE_MANAGER:Hide("mailSend")
  10.     end
  11. end)

Works for me. The issue you described looks like a bug I've been experiencing since launch. Often after playing for some time, whenever I close the map, mouse-turning doesn't work, I have to click. The only solution I've found so far is /reloadui

edit: oh, I've just noticed the thing above itself works, but somehow breaks my inbox, I can't read the first mail in the list :/ /reloadui doesn't help
Same Problem as before, i lose the focus on cross :/
Look for another approach.
Thx all.
regards
Marcel
  Reply With Quote