repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / viewmenu.C
index b3d33d69aa458f2b3d8825c73b63342ad8b23882..206faf439739469ced7e843542cfcb52d385287a 100644 (file)
@@ -43,13 +43,7 @@ int ShowAssets::handle_event()
 {
        set_checked(get_checked() ^ 1);
        mwindow->edl->session->show_assets = get_checked();
-       mwindow->gui->update(1,
-               1,
-               0,
-               0,
-               1,
-               0,
-               0);
+       mwindow->gui->update(1, 1, 0, 0, 1, 0, 0);
        mwindow->gui->unlock_window();
        mwindow->gwindow->gui->update_toggles(1);
        mwindow->gui->lock_window("ShowAssets::handle_event");
@@ -70,13 +64,7 @@ int ShowTitles::handle_event()
 {
        set_checked(get_checked() ^ 1);
        mwindow->edl->session->show_titles = get_checked();
-       mwindow->gui->update(1,
-               1,
-               0,
-               0,
-               1,
-               0,
-               0);
+       mwindow->gui->update(1, 1, 0, 0, 1, 0, 0);
        mwindow->gui->unlock_window();
        mwindow->gwindow->gui->update_toggles(1);
        mwindow->gui->lock_window("ShowTitles::handle_event");
@@ -111,7 +99,7 @@ ShowAutomation::ShowAutomation(MWindow *mwindow,
        const char *text,
        const char *hotkey,
        int subscript)
- : BC_MenuItem(text, hotkey, hotkey[0])
+ : BC_MenuItem(text, hotkey, hotkey[strlen(hotkey)-1])
 {
        this->mwindow = mwindow;
        this->subscript = subscript;
@@ -138,7 +126,7 @@ void ShowAutomation::update_toggle()
 
 
 PluginAutomation::PluginAutomation(MWindow *mwindow, const char *hotkey)
- : BC_MenuItem(_("Plugin Autos"), hotkey, hotkey[0])
+ : BC_MenuItem(_("Plugin Keyframes"), hotkey, hotkey[0])
 {
        this->mwindow = mwindow;
 }