mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
initialize button_ member to sane state
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7571 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8d28085833
commit
9190d81e76
@ -22,17 +22,17 @@ using std::endl;
|
||||
|
||||
|
||||
FuncRequest::FuncRequest()
|
||||
: view_(0), action(LFUN_UNKNOWN_ACTION)
|
||||
: view_(0), action(LFUN_UNKNOWN_ACTION), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(kb_action act)
|
||||
: view_(0), action(act)
|
||||
: view_(0), action(act), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(kb_action act, string const & arg)
|
||||
: view_(0), action(act), argument(arg)
|
||||
: view_(0), action(act), argument(arg), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
@ -43,12 +43,12 @@ FuncRequest::FuncRequest
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(BufferView * view, kb_action act)
|
||||
: view_(view), action(act)
|
||||
: view_(view), action(act), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
FuncRequest::FuncRequest(BufferView * view, kb_action act, string const & arg)
|
||||
: view_(view), action(act), argument(arg)
|
||||
: view_(view), action(act), argument(arg), button_(mouse_button::none)
|
||||
{}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user