Skip to content

Commit 60f4054

Browse files
committed
Update MaterialListPreference.java
Fixes the unresolved issue #848
1 parent 0b8ccd9 commit 60f4054

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commons/src/main/java/com/afollestad/materialdialogs/prefs/MaterialListPreference.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public boolean onSelection(MaterialDialog dialog, View itemView, int which, Char
138138
mDialog = builder.build();
139139
if (state != null)
140140
mDialog.onRestoreInstanceState(state);
141+
onClick(mDialog, DialogInterface.BUTTON_NEGATIVE);
141142
mDialog.show();
142143
}
143144

0 commit comments

Comments
 (0)