Skip to content
Commit 6413a640 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Fix icon border not updated on save

Currently if you save a document which is modified, then the "red"
modified markers in the icon border stay red.

This used to work in KF5 but broke when I optimized the saveFile path
to not do anything in the readVariables() function if the file has no
variables. As a side effect of this optimization, the view wouldn't
repaint.

To fix this, trigger a repaint if:
- the view is visible and,
- it has modified lines in the visible range
parent 5f9dfaa1
Pipeline #450392 passed with stage
in 13 minutes and 12 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment