mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
fix invite button disabling logic
This commit is contained in:
parent
75b6ecc325
commit
a1d5553266
1 changed files with 2 additions and 2 deletions
|
@ -1240,8 +1240,8 @@ disenable_buttons( GtkGameGlobals* globals )
|
|||
gtk_widget_set_sensitive( globals->prevhint_button, gsi.canHint );
|
||||
gtk_widget_set_sensitive( globals->nexthint_button, gsi.canHint );
|
||||
|
||||
gtk_widget_set_sensitive( globals->invite_button,
|
||||
0 < globals->cGlobals.nMissing );
|
||||
XP_U16 nMissing = server_getMissingPlayers( globals->cGlobals.game.server );
|
||||
gtk_widget_set_sensitive( globals->invite_button, 0 < nMissing );
|
||||
gtk_widget_set_sensitive( globals->commit_button, gsi.curTurnSelected );
|
||||
|
||||
#ifdef XWFEATURE_CHAT
|
||||
|
|
Loading…
Reference in a new issue