Skip to content

Commit

Permalink
accessibility improvements (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
corrados committed Aug 10, 2020
1 parent ad5537f commit a708a53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

- replacing internal history graph functionality by external scripts/tools (#501)

- accessibility improvements (#499)

- bug fix: added more mutex in the server (should fix #480)

- bug fix: --showallservers ping column sort is alphabetic (#201)
Expand Down
3 changes: 3 additions & 0 deletions src/multicolorled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_RED )
{
setPixmap ( BitmCubeRed );
setAccessibleDescription ( tr ( "Red" ) );
eColorFlag = RL_RED;
}
break;
Expand All @@ -81,6 +82,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_YELLOW )
{
setPixmap ( BitmCubeYellow );
setAccessibleDescription ( tr ( "Yellow" ) );
eColorFlag = RL_YELLOW;
}
break;
Expand All @@ -90,6 +92,7 @@ void CMultiColorLED::SetColor ( const ELightColor eNewColorFlag )
if ( eColorFlag != RL_GREEN )
{
setPixmap ( BitmCubeGreen );
setAccessibleDescription ( tr ( "Green" ) );
eColorFlag = RL_GREEN;
}
break;
Expand Down

0 comments on commit a708a53

Please sign in to comment.