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 } |