Skip to content

Commit

Permalink
Don't explicitly set PopupMenu()'s position
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jul 16, 2024
1 parent 67225f0 commit d1efe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3111,7 +3111,7 @@ void PoeditFrame::OnListRightClick(wxDataViewEvent& event)
std::shared_ptr<wxMenu> menu(CreatePopupMenu(m_list->ListItemToCatalogIndex(item)));
if (menu)
{
m_list->PopupMenu(menu.get(), event.GetPosition());
m_list->PopupMenu(menu.get());
}
else
{
Expand Down

0 comments on commit d1efe68

Please sign in to comment.