Fix crash on triggering "Reformat Source" without no more file loaded
ClosedPublic

Authored by kossebau on Jan 10 2017, 9:34 PM.

Details

Summary

Also disable actions "Reformat Source" & "Reformat Line" if no document
is activated

Diff Detail

Repository
R33 KDevPlatform
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau updated this revision to Diff 10009.Jan 10 2017, 9:34 PM
kossebau retitled this revision from to Fix crash on triggering "Reformat Source" without no more file loaded.
kossebau updated this object.
kossebau added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJan 10 2017, 9:34 PM
kfunk accepted this revision.Jan 10 2017, 10:16 PM
kfunk added a reviewer: kfunk.
kfunk added a subscriber: kfunk.

Will push.

This revision is now accepted and ready to land.Jan 10 2017, 10:16 PM
This revision was automatically updated to reflect the committed changes.