Skip to content

Return gently instead of crashing if mainWindow not found

Simone Gaiarin requested to merge gaiarin/okular:fix-423335 into release/20.08

Part::guiActivateEvent is emitted also when a tab is closed, and when we reach this point due to that event the associated main window cannot be found leading to a crash.

BUG: 423335

Edited by Simone Gaiarin

Merge request reports

Loading