diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 12 | ||||
-rw-r--r-- | macosx/English.lproj/MainMenu.nib/info.nib | 3 | ||||
-rw-r--r-- | macosx/English.lproj/MainMenu.nib/keyedobjects.nib | bin | 122179 -> 122180 bytes |
3 files changed, 13 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 0537815c1..e07f925d0 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1259,7 +1259,17 @@ return registrationDictionary; - (IBAction) ChapterPopUpChanged: (id) sender { - hb_list_t * list = hb_get_titles( fHandle ); + + /* If start chapter popup is greater than end chapter popup, + we set the end chapter popup to the same as start chapter popup */ + if ([fSrcChapterStartPopUp indexOfSelectedItem] > [fSrcChapterEndPopUp indexOfSelectedItem]) + { + [fSrcChapterEndPopUp selectItemAtIndex: [fSrcChapterStartPopUp indexOfSelectedItem]]; + } + + + + hb_list_t * list = hb_get_titles( fHandle ); hb_title_t * title = (hb_title_t *) hb_list_item( list, [fSrcTitlePopUp indexOfSelectedItem] ); diff --git a/macosx/English.lproj/MainMenu.nib/info.nib b/macosx/English.lproj/MainMenu.nib/info.nib index f582e6f45..0973bee18 100644 --- a/macosx/English.lproj/MainMenu.nib/info.nib +++ b/macosx/English.lproj/MainMenu.nib/info.nib @@ -19,8 +19,9 @@ </array> <key>IBOpenObjects</key> <array> - <integer>29</integer> <integer>1162</integer> + <integer>21</integer> + <integer>29</integer> </array> <key>IBSystem Version</key> <string>8P2137</string> diff --git a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib Binary files differindex 79978bf84..9dcc7ae58 100644 --- a/macosx/English.lproj/MainMenu.nib/keyedobjects.nib +++ b/macosx/English.lproj/MainMenu.nib/keyedobjects.nib |