Skip to content
  • Ismael Asensio's avatar
    ModuleView: Simplify and fix custom headers logic · 9a35fd4c
    Ismael Asensio authored and Nate Graham's avatar Nate Graham committed
    Apart from a minimum logic refactor, this introduces two fixes:
    - Only affect custom header visiblity for current page
    - Do not set customHeader text when not visible
    
    When calling `KTitleWidget::setText()`, this would set the custom
    header visible again. So do it only if we want it actually visible.
    
    
    (cherry picked from commit 1022d0b0)
    9a35fd4c