check if can hint (to refresh buttons) after enter/leaving trade mode

This commit is contained in:
Andy2 2011-03-08 07:41:16 -08:00
parent aa88503cfb
commit fc4fddb055

View file

@ -1135,6 +1135,7 @@ handle_trade_button( GtkWidget* XP_UNUSED(widget), GtkAppGlobals* globals )
{
if ( board_beginTrade( globals->cGlobals.game.board ) ) {
board_draw( globals->cGlobals.game.board );
disenable_buttons( globals );
}
} /* handle_juggle_button */
@ -1143,6 +1144,7 @@ handle_done_button( GtkWidget* XP_UNUSED(widget), GtkAppGlobals* globals )
{
if ( board_commitTurn( globals->cGlobals.game.board ) ) {
board_draw( globals->cGlobals.game.board );
disenable_buttons( globals );
}
} /* handle_done_button */