mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Reset connection_established_ flag when connection closed
This commit is contained in:
@@ -166,6 +166,7 @@ void MainWindow::OnConnectionStatusCb(ConnectionStatus status,
|
|||||||
main_window->connection_status_str_ = "Closed";
|
main_window->connection_status_str_ = "Closed";
|
||||||
main_window->start_screen_capture_ = false;
|
main_window->start_screen_capture_ = false;
|
||||||
main_window->start_mouse_control_ = false;
|
main_window->start_mouse_control_ = false;
|
||||||
|
main_window->connection_established_ = false;
|
||||||
} else if (ConnectionStatus::IncorrectPassword == status) {
|
} else if (ConnectionStatus::IncorrectPassword == status) {
|
||||||
main_window->connection_status_str_ = "Incorrect password";
|
main_window->connection_status_str_ = "Incorrect password";
|
||||||
if (main_window->connect_button_pressed_) {
|
if (main_window->connect_button_pressed_) {
|
||||||
|
|||||||
Reference in New Issue
Block a user