summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesDefaultsController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-22 16:22:46 +0200
committerDamiano Galassi <[email protected]>2015-10-22 16:22:46 +0200
commitd49d34b76ba5ee2e417479e2098b687453c2962a (patch)
treecb83a729a4d3e392b98eea8fd7905ebcffbfe1f1 /macosx/HBSubtitlesDefaultsController.m
parent618bfd0bb81b4d70e640e49835da19177d7b2650 (diff)
MacGui: partial undo/redo support in the defaults sheets.
Diffstat (limited to 'macosx/HBSubtitlesDefaultsController.m')
-rw-r--r--macosx/HBSubtitlesDefaultsController.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBSubtitlesDefaultsController.m b/macosx/HBSubtitlesDefaultsController.m
index 9d1c7f875..83d98b72e 100644
--- a/macosx/HBSubtitlesDefaultsController.m
+++ b/macosx/HBSubtitlesDefaultsController.m
@@ -29,6 +29,7 @@ static void *HBSubtitlesDefaultsContex = &HBSubtitlesDefaultsContex;
{
_settings = settings;
_languagesList = [[HBLanguagesSelection alloc] initWithLanguages:_settings.trackSelectionLanguages];
+ _settings.undo = self.window.undoManager;
}
return self;
}