mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 19:43:13 -04:00
Added option to copy MP upload game error to clipboard for debugging #12997
This commit is contained in:
parent
63d02c9efe
commit
01ebfc5bd5
@ -610,6 +610,9 @@ class WorldScreen(
|
||||
launchOnGLThread {
|
||||
val cantUploadNewGamePopup = Popup(this@WorldScreen)
|
||||
cantUploadNewGamePopup.addGoodSizedLabel(message).row()
|
||||
cantUploadNewGamePopup.addButton("Copy to clipboard") {
|
||||
Gdx.app.clipboard.contents = ex.stackTraceToString()
|
||||
}
|
||||
cantUploadNewGamePopup.addCloseButton()
|
||||
cantUploadNewGamePopup.open()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user