mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +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))
|
.setTitle(titleForDlg(id))
|
||||||
.setView( LayoutInflater.from(this)
|
.setView( LayoutInflater.from(this)
|
||||||
.inflate( layoutForDlg(id), null ))
|
.inflate( layoutForDlg(id), null ))
|
||||||
.create();
|
.setPositiveButton( R.string.button_ok,
|
||||||
dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
|
new DialogInterface.OnClickListener() {
|
||||||
@Override
|
public void onClick( DialogInterface dlg,
|
||||||
public void onDismiss( DialogInterface di )
|
int whichButton ) {
|
||||||
{
|
|
||||||
getRoleSettings();
|
getRoleSettings();
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
.setNegativeButton( R.string.button_cancel, null )
|
||||||
|
.create();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FORCE_REMOTE:
|
case FORCE_REMOTE:
|
||||||
|
|
Loading…
Add table
Reference in a new issue