Skip to content

Commit

Permalink
repair pairRegister for multi entities
Browse files Browse the repository at this point in the history
  • Loading branch information
dahailu committed Aug 6, 2020
1 parent 965f1ef commit fcf1e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eCV/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ void MainWindow::enableUIItems(dbTreeSelectionInfo& selInfo)

m_ui->actionRegister->setEnabled(exactlyTwoEntities);
m_ui->actionInterpolateColors->setEnabled(exactlyTwoEntities && atLeastOneColor);
m_ui->actionPointPairsAlign->setEnabled(exactlyOneEntity || exactlyTwoEntities);
m_ui->actionPointPairsAlign->setEnabled(atLeastOneEntity);
m_ui->actionBBCenterToOrigin->setEnabled(atLeastOneEntity);
m_ui->actionBBMinCornerToOrigin->setEnabled(atLeastOneEntity);
m_ui->actionBBMaxCornerToOrigin->setEnabled(atLeastOneEntity);
Expand Down

0 comments on commit fcf1e40

Please sign in to comment.