reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit a70a2ac9469f9ca111fcb7b5e4bbe173a79d8b41
parent 3b86e8b31c2687ef268fcfcd04e3b201988a24c9
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Sun, 21 Aug 2016 23:11:54 -0700

report: make Return key always close the dialog on windows

Diffstat:
Msrc/report.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/report.cpp b/src/report.cpp @@ -40,6 +40,8 @@ void Report::onInit() const auto_string &str = make_autostring(m_stream.str()); SetDlgItemText(handle(), IDC_REPORT, str.c_str()); + + SetFocus(getControl(IDOK)); } void Report::printHeader(const char *title)