diff options
author | akshay-c | 2019-06-27 10:23:57 +0530 |
---|---|---|
committer | akshay-c | 2019-06-27 10:23:57 +0530 |
commit | d173a9be97cab476f2dd1aa9a43fef06e215ee57 (patch) | |
tree | 266973b96547e796d70f4043618d97a7a3738629 /ldmicro/draw_outputdev.cpp | |
parent | 3f7c4198a528cda5f027d26d103a8b228e82474b (diff) | |
download | LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.gz LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.bz2 LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.zip |
Code Beautification
Diffstat (limited to 'ldmicro/draw_outputdev.cpp')
-rw-r--r-- | ldmicro/draw_outputdev.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldmicro/draw_outputdev.cpp b/ldmicro/draw_outputdev.cpp index 1b3921d..d38f3a8 100644 --- a/ldmicro/draw_outputdev.cpp +++ b/ldmicro/draw_outputdev.cpp @@ -292,7 +292,8 @@ void PaintWidget::paintEvent(QPaintEvent *event) /*if(((cy + thisHeight) >= (ScrollYOffset - 8)*POS_HEIGHT) && (cy < (ScrollYOffset + rowsAvailable + 8)*POS_HEIGHT))*/ { - SetBkColor(DrawWindow, Hcr, InSimulationMode ? HighlightColours.simBg : + SetBkColor(DrawWindow, Hcr, + InSimulationMode ? HighlightColours.simBg : HighlightColours.bg); SetTextColor(Hcr, InSimulationMode ? HighlightColours.simRungNum : HighlightColours.rungNum); |