made timeline in/out toggleable
This commit is contained in:
+10
-1
@@ -245,6 +245,7 @@ void MainWindow::make_new_menu(QMenu *parent) {
|
||||
void MainWindow::make_inout_menu(QMenu *parent) {
|
||||
parent->addAction("Set In Point", this, SLOT(set_in_point()), QKeySequence("I"));
|
||||
parent->addAction("Set Out Point", this, SLOT(set_out_point()), QKeySequence("O"));
|
||||
parent->addAction("Enable/Disable In/Out Point", this, SLOT(enable_inout()));
|
||||
parent->addSeparator();
|
||||
parent->addAction("Reset In Point", this, SLOT(clear_in()));
|
||||
parent->addAction("Reset Out Point", this, SLOT(clear_out()));
|
||||
@@ -1258,7 +1259,15 @@ void MainWindow::ripple_delete_inout()
|
||||
{
|
||||
if (panel_timeline->focused()) {
|
||||
panel_timeline->delete_in_out(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::enable_inout() {
|
||||
if (panel_timeline->focused() || panel_sequence_viewer->is_focused()) {
|
||||
panel_sequence_viewer->toggle_enable_inout();
|
||||
} else if (panel_footage_viewer->is_focused()) {
|
||||
panel_footage_viewer->toggle_enable_inout();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::set_tsa_default() {
|
||||
|
||||
Reference in New Issue
Block a user