summaryrefslogtreecommitdiffstats
path: root/macosx/ScanController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/ScanController.mm')
-rw-r--r--macosx/ScanController.mm12
1 files changed, 12 insertions, 0 deletions
diff --git a/macosx/ScanController.mm b/macosx/ScanController.mm
index 81b27236c..01aa0026e 100644
--- a/macosx/ScanController.mm
+++ b/macosx/ScanController.mm
@@ -95,6 +95,18 @@
}
else // User clicked Cancel in browse window
{
+ /* use the outlets to the main menu bar to determine what to
+ enable and disable */
+ [fMainMenuOpenSource setEnabled: YES];
+ /* if we have a title loaded up */
+ if ([[fMainWindowSrcName stringValue] length] > 0)
+ {
+ [fMainMenuAddToQueue setEnabled: YES];
+ [fMainMenuStartEncode setEnabled: YES];
+ //[fMainMenuPauseEncode setEnabled: YES];
+ [fMenuQueuePanelShow setEnabled: YES];
+ [fMenuPicturePanelShow setEnabled: YES];
+ }
[self Cancel: nil];
}