Skip to content

Commit

Permalink
fix(cpn): Non-functional edit model button and context menu entry (#4217
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Neil Horne authored Oct 18, 2023
1 parent 3e5e598 commit 4ae4a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/mdichild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ void MdiChild::insert()

void MdiChild::edit()
{
onItemActivated(getCurrentIndex());
onItemActivated(ui->modelsList->selectionModel()->currentIndex());
}

void MdiChild::confirmDelete()
Expand Down

0 comments on commit 4ae4a7c

Please sign in to comment.