Skip to content

Commit

Permalink
Disable pass button in modeBatch
Browse files Browse the repository at this point in the history
  • Loading branch information
bernds committed Oct 23, 2019
1 parent 8186694 commit e129d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@ void MainWindow::setGameMode (GameMode mode)
tab_tg->setParent (nullptr);

followButton->setVisible (mode == modeObserveGTP);
passButton->setVisible (mode != modeObserve && mode != modeObserveGTP);
passButton->setVisible (mode != modeObserve && mode != modeObserveGTP && mode != modeBatch);
doneButton->setVisible (mode == modeScore || mode == modeScoreRemote);
scoreButton->setVisible (mode == modeNormal || mode == modeEdit || mode == modeScore);
undoButton->setVisible (mode == modeScoreRemote || mode == modeMatch || mode == modeComputer || mode == modeTeach);
Expand Down

0 comments on commit e129d46

Please sign in to comment.