Fix regression in which the Save dialog appears as an Open dialog

Authored by aacid on Dec 31 2016, 10:55 AM.

Description

Fix regression in which the Save dialog appears as an Open dialog

7bbbd93cd3fc0abdffd3fa7f144cb50a33fafad9 makes the save dialog appear as Open dialog.

Simplify the code in that commit so it does not regress anymore.

Comes with a unit test

New test fails without the patch, works with it. Kate Save As dialog no longer shows as Open dialog.

REVIEW: 129732

Details

Committed
aacidDec 31 2016, 10:55 AM
Parents
R135:f807b57ba20a: Update version number for 5.8.5 GIT_SILENT
Branches
Unknown
Tags
Unknown