sources/interface.cpp

branch
protocol5
changeset 135
966c09c34ae1
parent 133
4d8fa5394d67
child 136
8fb1c657e0b0
equal deleted inserted replaced
134:644935ff6bc1 135:966c09c34ae1
625 } 625 }
626 626
627 if (m_inputState == INPUTSTATE_CONFIRM_DISCONNECTION) 627 if (m_inputState == INPUTSTATE_CONFIRM_DISCONNECTION)
628 { 628 {
629 if (ch == 'y' or ch == 'Y') 629 if (ch == 'y' or ch == 'Y')
630 disconnected(); 630 {
631 m_session.disconnect();
632 m_disconnectCallback(true);
633 }
631 else if (ch == 'n' or ch == 'N') 634 else if (ch == 'n' or ch == 'N')
632 set_input_state (INPUTSTATE_NORMAL); 635 set_input_state (INPUTSTATE_NORMAL);
633 636
634 return; 637 return;
635 } 638 }

mercurial