Pt translations, flexibility changes

This commit is contained in:
Henrique Santiago
2012-08-26 06:10:48 -03:00
parent 3baf2b809d
commit 9b394785bb
5 changed files with 36 additions and 13 deletions

View File

@@ -1,3 +1,4 @@
-- TODO: find another hotkey for this. Ctrl+Z will be reserved to undo on textedits.
HOTKEY = 'Ctrl+Z'
bugReportWindow = nil
@@ -26,8 +27,10 @@ function doReport()
end
function show()
bugTextEdit:setText('')
bugReportWindow:show()
bugReportWindow:raise()
bugReportWindow:focus()
if g_game.isOnline() then
bugTextEdit:setText('')
bugReportWindow:show()
bugReportWindow:raise()
bugReportWindow:focus()
end
end