Skip to content

Dont use activeView as save dialog parent

Waqar Ahmed requested to merge work/crash-in-save-dialog into master

Active view can get deleted during dialog exec. It is also just a bad idea to use the activeView imo. The new logic tries to use the QApplication::activeWindow() first, then tries the KTextEditor::MainWindow::window() and as a last fallback uses the activeView.

BUG: 484466

Merge request reports