mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win-linux] fix bug 75419
This commit is contained in:
@ -111,7 +111,8 @@ void CWindowPlatform::adjustGeometry()
|
||||
void CWindowPlatform::onWindowActivate(bool is_active)
|
||||
{
|
||||
for (auto *btn : m_pTopButtons) {
|
||||
btn->setFaded(!is_active);
|
||||
if (btn)
|
||||
btn->setFaded(!is_active);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -332,7 +332,8 @@ bool CWindowPlatform::isSessionInProgress()
|
||||
void CWindowPlatform::onWindowActivate(bool is_active)
|
||||
{
|
||||
for (auto *btn : m_pTopButtons) {
|
||||
btn->setFaded(!is_active);
|
||||
if (btn)
|
||||
btn->setFaded(!is_active);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user