projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27d6f3
)
Fix crash on Repeat... option.
author
Carl Hetherington
<cth@carlh.net>
Sat, 29 Oct 2016 10:07:06 +0000
(11:07 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 29 Oct 2016 10:07:22 +0000
(11:07 +0100)
src/wx/content_menu.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_menu.cc
b/src/wx/content_menu.cc
index de3aceac0ff574c2e4d0c9ce81712eeab4217d0f..fb255b3606aafed7d51b2d0646ab7d310f7c4d42 100644
(file)
--- a/
src/wx/content_menu.cc
+++ b/
src/wx/content_menu.cc
@@
-88,7
+88,7
@@
ContentMenu::ContentMenu (wxWindow* p)
_parent->Bind (wxEVT_COMMAND_MENU_SELECTED, boost::bind (&ContentMenu::ov, this), ID_ov);
_parent->Bind (wxEVT_COMMAND_MENU_SELECTED, boost::bind (&ContentMenu::remove, this), ID_remove);
- _parent->Bind (wxEVT_MENU, boost::bind (&ContentMenu::cpl_selected, this, _1), 0, ID_repeat);
+ _parent->Bind (wxEVT_MENU, boost::bind (&ContentMenu::cpl_selected, this, _1), 0, ID_repeat
- 1
);
}
ContentMenu::~ContentMenu ()