disable hint buttons when hint feature's turned off

This commit is contained in:
Andy2 2010-07-05 09:52:19 -07:00
parent 93eca7b936
commit 210a3f033b

View file

@ -772,6 +772,12 @@ public class BoardActivity extends Activity implements UtilCtxt {
.CMD_UNDO_CUR );
}
}) ;
// Stuff we can disable now
if ( m_gi.hintsNotAllowed ) {
m_toolbar.update( Toolbar.BUTTON_HINT_PREV, 0 );
m_toolbar.update( Toolbar.BUTTON_HINT_NEXT, 0 );
}
} // populateToolbar
private DialogInterface.OnDismissListener makeODLforBlocking()