summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-09-24 13:12:45 +0200
committerDamiano Galassi <[email protected]>2015-09-24 13:12:45 +0200
commite11a6d7ccb231622ac1ce162329a22be9b48c659 (patch)
tree690e6e7a22f9bfe141c2050f6573e833790eb474 /macosx/HBController.m
parentdca3f193e846de28d118eb692dd8d695b2cb6a34 (diff)
MacGui: do not revert to the selected preset when scanning a new source, but keep using the last job settings. Removed an unused ivar.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m6
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 5b13267e7..549cb1c3e 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -53,7 +53,6 @@
/// The current selected preset.
@property (nonatomic, strong) HBPreset *currentPreset;
-@property (nonatomic) BOOL customPreset;
/// The HBCore used for scanning.
@property (nonatomic, strong) HBCore *core;
@@ -80,6 +79,7 @@
fQueueController.controller = self;
presetManager = manager;
+ _currentPreset = manager.defaultPreset;
}
return self;
@@ -868,10 +868,6 @@
{
self.currentPreset = [self createPresetFromCurrentSettings];
}
- else
- {
- self.currentPreset = fPresetsView.selectedPreset;
- }
HBTitle *title = self.core.titles[fSrcTitlePopUp.indexOfSelectedItem];