Skip to content

KateRenderer: Check for m_view being null in more places

Kai Uwe Broulik requested to merge work/kbroulik/renderer-view-check into master

It is checked for virtually everywhere, except here.


Fixes Kate crashing when prompting print preview or printing from the file tree.

This only fixes the symptom, the fact that the view is null is a Kate bug which potentially leads to printouts looking different when triggered from file tree (no view, thus no config, among other things) or from File menu. But still better than crashing :)

@cullmann

Merge request reports