mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
check if can hint (to refresh buttons) after enter/leaving trade mode
This commit is contained in:
parent
aa88503cfb
commit
fc4fddb055
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue