repair break in arm tab fix, add goto icon in bright theme
authorGood Guy <good1.2guy@gmail.com>
Sun, 21 Aug 2016 13:11:28 +0000 (07:11 -0600)
committerGood Guy <good1.2guy@gmail.com>
Sun, 21 Aug 2016 13:11:28 +0000 (07:11 -0600)
cinelerra-5.1/cinelerra/mwindowgui.C
cinelerra-5.1/plugins/theme_bright/brighttheme.C

index 660c6d88b18ede9b7fcd41b55c7c7f65147605c6..6e72494ace07c5326e7a64e5d600cb86e044753f 100644 (file)
@@ -1249,6 +1249,7 @@ int MWindowGUI::keypress_event()
        case LEFTTAB:
                Track *this_track = 0;
                for( int i=0; i<TOTAL_PANES; ++i ) {
+                       if( !pane[i] ) continue;
                        if( (this_track = pane[i]->over_track()) != 0 ) break;
                        if( (this_track = pane[i]->over_patchbay()) != 0 ) break;
                }
index 13664f55c60adc1ad5f42ba3eb8fcc51aa22e272..138010906ffdf36e4b08e87237e20d39f576e923 100644 (file)
@@ -701,6 +701,7 @@ void BrightTheme::initialize()
        new_button("right_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "right_justify");
        splice_data = new_button("splice.png", editpanel_up, editpanel_hi, editpanel_dn);
        new_button("toclip.png", editpanel_up, editpanel_hi, editpanel_dn, "toclip");
+       new_button("goto.png", editpanel_up, editpanel_hi, editpanel_dn, "goto");
        new_button("top_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "top_justify");
        new_button("undo.png", editpanel_up, editpanel_hi, editpanel_dn, "undo");
        new_button("wrench.png", editpanel_up, editpanel_hi, editpanel_dn, "wrench");