[Folder View] Support undo keyboard shortcut
ClosedPublic

Authored by broulik on Mar 2 2017, 1:17 PM.

Details

Summary

My first reaction when having done something stupid is to hit Ctrl+Z. This didn't work with FolderView.

Test Plan

Pressed Delete to trash a file, pressed Ctrl+Z, it came back.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Mar 2 2017, 1:17 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 2 2017, 1:17 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

Hold on, crashes when I undo without being able to undo.

broulik updated this revision to Diff 12056.Mar 2 2017, 1:23 PM
  • Don't crash if we cannot undo (trigger() apparently doesn't check enabled())
hein accepted this revision.Mar 2 2017, 3:14 PM
This revision is now accepted and ready to land.Mar 2 2017, 3:14 PM
This revision was automatically updated to reflect the committed changes.