Skip to content

Commit

Permalink
Merge pull request moneymanagerex#6337 from whalley/master
Browse files Browse the repository at this point in the history
fix(moneymanagerex#6332): fix ID
  • Loading branch information
whalley authored Dec 1, 2023
2 parents df16804 + 803caa3 commit 4b2e059
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1942,15 +1942,14 @@ mmHtmlWindow::mmHtmlWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos,
void mmHtmlWindow::OnMouseRightClick(wxMouseEvent& event)
{
wxMenu menu;
int id = wxID_LOWEST;
menu.Append(wxID_LOWEST + 1, _("Copy all text to clipboard"));
menu.Append(wxID_HIGHEST + 1, _("Copy all text to clipboard"));
PopupMenu(&menu);

}

void mmHtmlWindow::OnMenuSelected(wxCommandEvent& event)
{
int i = event.GetId() - wxID_LOWEST;
int i = event.GetId() - wxID_HIGHEST;
if (i == 1) // There is only one anyway
{
if (wxTheClipboard->Open())
Expand Down

0 comments on commit 4b2e059

Please sign in to comment.