Request attention on disconnect.

This commit is contained in:
Bartosz Taudul 2022-10-13 20:49:30 +02:00
parent 1c5d90c98a
commit 7727a17153
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2 additions and 0 deletions

View File

@ -741,6 +741,7 @@ bool View::DrawImpl()
} }
else else
{ {
Attention( m_attnDisconnected );
ImGui::BeginDisabled(); ImGui::BeginDisabled();
ImGui::ButtonEx( MainWindowButtons[2], ImVec2( bw, 0 ) ); ImGui::ButtonEx( MainWindowButtons[2], ImVec2( bw, 0 ) );
ImGui::EndDisabled(); ImGui::EndDisabled();

View File

@ -840,6 +840,7 @@ private:
bool m_attnDropped = false; bool m_attnDropped = false;
bool m_attnFailure = false; bool m_attnFailure = false;
bool m_attnWorking = false; bool m_attnWorking = false;
bool m_attnDisconnected = false;
}; };
} }