Skip to content

Commit

Permalink
write it cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton committed Sep 1, 2020
1 parent 9c03700 commit 01f9cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Editors/PathEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ void PathEditor::on_insertPointButton_pressed() {
void PathEditor::on_deletePointButton_pressed() {
int deleteIndex = _ui->pointsTableView->selectionModel()->currentIndex().row();
{
RepeatedMessageModel::RowRemovalOperation remover(_pointsModel);
remover.RemoveRows(_ui->pointsTableView->selectionModel()->selectedRows());
RepeatedMessageModel::RowRemovalOperation(_pointsModel)
.RemoveRows(_ui->pointsTableView->selectionModel()->selectedRows());
}

if (_pointsModel->rowCount() > 0) {
Expand Down

0 comments on commit 01f9cdd

Please sign in to comment.