parent
6f7e198327
commit
e75452dab8
|
@ -90,7 +90,7 @@ void CScanButton::OnTimer(UINT_PTR nIDEvent)
|
||||||
time_t Now = time(nullptr);
|
time_t Now = time(nullptr);
|
||||||
if (10 - (Now - m_ScanStart) > 0)
|
if (10 - (Now - m_ScanStart) > 0)
|
||||||
{
|
{
|
||||||
Dialog.SetWindowText(stdstr_f("Configure Input: Press Key ... (%d seconds)", 10 - (Now - m_ScanStart)).ToUTF16().c_str());
|
Dialog.SetWindowText(stdstr_f("Configure input: Press key... (%d seconds)", 10 - (Now - m_ScanStart)).ToUTF16().c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -116,7 +116,7 @@ void CScanButton::OnTimer(UINT_PTR nIDEvent)
|
||||||
{
|
{
|
||||||
m_ScanBtn.KillTimer(DETECT_KEY_TIMER);
|
m_ScanBtn.KillTimer(DETECT_KEY_TIMER);
|
||||||
CWindow Dialog = m_ScanBtn.GetParent().GetParent();
|
CWindow Dialog = m_ScanBtn.GetParent().GetParent();
|
||||||
Dialog.SetWindowText(L"Configure Input");
|
Dialog.SetWindowText(L"Configure input");
|
||||||
|
|
||||||
if (m_Overlay.m_hWnd != NULL)
|
if (m_Overlay.m_hWnd != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue