Skip to content

Commit

Permalink
Use c and v for dilate and erode shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidborland committed Jan 23, 2020
1 parent e2a8633 commit b0887c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qt/MainWindow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ void MainWindow::CreateToolBar() {
toolBar->addAction(actionFilterRegion);
toolBar->addSeparator();
toolBar->addWidget(CreateLabel("Edit"));
toolBar->addAction(CreateActionIcon(":/icons/icon_dilate.svg", "Dilate region", "z", &MainWindow::on_actionDilateRegion));
toolBar->addAction(CreateActionIcon(":/icons/icon_erode.svg", "Erode region", "x",&MainWindow::on_actionErodeRegion));
toolBar->addAction(CreateActionIcon(":/icons/icon_dilate.svg", "Dilate region", "c", &MainWindow::on_actionDilateRegion));
toolBar->addAction(CreateActionIcon(":/icons/icon_erode.svg", "Erode region", "v",&MainWindow::on_actionErodeRegion));

// Need extra logic for interaction mode
QObject::connect(actionNavigation, &QAction::triggered, this, &MainWindow::on_actionNavigation);
Expand Down

0 comments on commit b0887c1

Please sign in to comment.