Profile: fix Save button behavior
This commit is contained in:
parent
b785f9215d
commit
6aaedefbed
1 changed files with 1 additions and 0 deletions
|
@ -156,6 +156,7 @@ class LocalProfileFragment : DaggerFragment() {
|
|||
activity?.let { activity ->
|
||||
OKDialog.showConfirmation(activity, rh.gs(R.string.doyouwantswitchprofile), {
|
||||
localProfilePlugin.currentProfileIndex = position
|
||||
localProfilePlugin.isEdited = false
|
||||
build()
|
||||
}, {
|
||||
spinner?.setSelection(localProfilePlugin.currentProfileIndex)
|
||||
|
|
Loading…
Reference in a new issue