mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
add ok/cancel to relay/sms config dialog
This commit is contained in:
parent
f1f5b63a0d
commit
1deda80a9c
1 changed files with 8 additions and 7 deletions
|
@ -145,14 +145,15 @@ public class GameConfig extends Activity implements View.OnClickListener {
|
|||
.setTitle(titleForDlg(id))
|
||||
.setView( LayoutInflater.from(this)
|
||||
.inflate( layoutForDlg(id), null ))
|
||||
.setPositiveButton( R.string.button_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dlg,
|
||||
int whichButton ) {
|
||||
getRoleSettings();
|
||||
}
|
||||
})
|
||||
.setNegativeButton( R.string.button_cancel, null )
|
||||
.create();
|
||||
dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
|
||||
@Override
|
||||
public void onDismiss( DialogInterface di )
|
||||
{
|
||||
getRoleSettings();
|
||||
}
|
||||
});
|
||||
break;
|
||||
|
||||
case FORCE_REMOTE:
|
||||
|
|
Loading…
Add table
Reference in a new issue