Skip to content

Commit

Permalink
Fix unit tests #104
Browse files Browse the repository at this point in the history
  • Loading branch information
DamirPorobic committed Jun 4, 2020
1 parent 35c70ec commit 672408a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/menuButtons/GridMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void kImageAnnotator::GridMenu::setCurrentData(const QVariant &data)
auto gridMenuButton = dynamic_cast<GridMenuButton *>(button);
if(gridMenuButton != nullptr && gridMenuButton->data() == data) {
gridMenuButton->setChecked(true);
emit selectionChanged();
return;
}
}
Expand Down

0 comments on commit 672408a

Please sign in to comment.