• Robert Sprowson's avatar
    Gate the recache of currentmode · 50eea7b2
    Robert Sprowson authored
    The operations at module init and at Service_PreReset are both implicitly pre desktop, however it is valid to have Service_ModeFileChanged while in the desktop (for example, if selecting a different MDF from !ScrnSetup).
    Gate the one hanging off Service_ModeFileChanged to only act when there are no tasks active (ie. outside the Wimp).
    Fixes problem reported https://www.riscosopen.org/forum/forums/4/topics/9206 with NetSurf redraw.
    
    Version 5.58. Tagged as 'Wimp-5_58'
    50eea7b2
Wimp02 318 KB