mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
don't remove undo menuitem for networked games -- should be safe to
use now.
This commit is contained in:
parent
a311e487a9
commit
10ad59247a
1 changed files with 0 additions and 6 deletions
|
@ -602,12 +602,6 @@ public class BoardActivity extends XWActivity
|
||||||
MenuInflater inflater = getMenuInflater();
|
MenuInflater inflater = getMenuInflater();
|
||||||
inflater.inflate( R.menu.board_menu, menu );
|
inflater.inflate( R.menu.board_menu, menu );
|
||||||
|
|
||||||
// For now undo-last can crash the app or break a game in
|
|
||||||
// networked case. Disable until this is fixed.
|
|
||||||
if ( null != m_gi
|
|
||||||
&& m_gi.serverRole != DeviceRole.SERVER_STANDALONE ) {
|
|
||||||
menu.removeItem( R.id.board_menu_undo_last );
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue