mildly better threading and fixed redo bug

This commit is contained in:
itsmattkc
2018-07-26 16:40:08 +01:00
parent 2cf3ecffc4
commit 5ea746a053
5 changed files with 21 additions and 19 deletions
+3 -1
View File
@@ -253,12 +253,14 @@ void MainWindow::editMenu_About_To_Be_Shown() {
void MainWindow::on_action_Undo_triggered()
{
undo_stack.undo();
editMenu_About_To_Be_Shown();
panel_timeline->redraw_all_clips(true);
}
void MainWindow::on_action_Redo_triggered()
{
undo_stack.redo();
editMenu_About_To_Be_Shown();
panel_timeline->redraw_all_clips(true);
}
@@ -478,7 +480,7 @@ void MainWindow::on_actionGo_to_Next_Cut_triggered()
void MainWindow::on_actionPreferences_triggered()
{
PreferencesDialog pd(this);
pd.setup_kbd_shortcuts(this->menuBar());
pd.setup_kbd_shortcuts(menuBar());
pd.exec();
}