Skip to content

Commit

Permalink
Options popup closes naturally
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 committed Mar 3, 2024
1 parent 47e3397 commit a098519
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/com/unciv/ui/popups/options/OptionsPopup.kt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ class OptionsPopup(
center(screen.stage)
keyBindingsTab?.save()
settings.save()
onClose()
onClose() // activate the passed 'on close' button
close() // close this popup
})

if (GUI.keyboardAvailable) {
Expand Down

0 comments on commit a098519

Please sign in to comment.