Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelemaz authored Jan 10, 2023
1 parent 87f37ff commit cb3f144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void MainWindow::on_clrPlSel_clicked()

int selectedPl = ui->pointLoadsTbl->item(ui->pointLoadsTbl->selectedItems()[0]->row(),3)->text().toInt();

if (ui->pointLoadsTbl->item(selectedPl, 2)->text() == "Horizontal") {
if (ui->pointLoadsTbl->item(ui->pointLoadsTbl->selectedItems()[0]->row(), 2)->text() == "Horizontal") {
horizontalForces.erase(horizontalForces.begin() + selectedPl);
} else {
verticalForces.erase(verticalForces.begin() + selectedPl);
Expand Down

0 comments on commit cb3f144

Please sign in to comment.