Skip to content

Commit

Permalink
Fix context menu ending up in the wrong location.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw committed Jan 10, 2024
1 parent e065aab commit 06d3477
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/freedv_reporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,7 @@ void FreeDVReporterDialog::OnStatusTextSet(wxCommandEvent& event)

void FreeDVReporterDialog::OnStatusTextSetContextMenu(wxContextMenuEvent& event)
{
auto sz = m_buttonSet->GetSize();
m_buttonSet->PopupMenu(setPopupMenu_, wxPoint(-sz.GetWidth() - 25, 0));
m_buttonSet->PopupMenu(setPopupMenu_);
}

void FreeDVReporterDialog::OnStatusTextSetAndSaveMessage(wxCommandEvent& event)
Expand Down

0 comments on commit 06d3477

Please sign in to comment.