mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
no need for onClick listener when onDismiss listener does the same thing
This commit is contained in:
parent
8f60ca5af3
commit
6ca60438a1
1 changed files with 1 additions and 6 deletions
|
@ -299,12 +299,7 @@ public class DlgDelegate {
|
|||
dialog = new AlertDialog.Builder( m_activity )
|
||||
.setTitle( R.string.no_dict_title )
|
||||
.setMessage( R.string.no_dict_finish )
|
||||
.setPositiveButton( R.string.button_close_game,
|
||||
new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dlg, int item ) {
|
||||
m_activity.finish();
|
||||
}
|
||||
} )
|
||||
.setPositiveButton( R.string.button_close_game, null )
|
||||
.create();
|
||||
|
||||
dialog.setOnDismissListener( new DialogInterface.OnDismissListener() {
|
||||
|
|
Loading…
Add table
Reference in a new issue