Move color to TimelineMarker and make sure all instances of a marker update on color change

This commit is contained in:
Thomas Wilshaw
2021-10-22 22:15:50 +01:00
parent 562b0e3a7f
commit 575ce39696
5 changed files with 29 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void Marker::ShowContextMenu() {
// Color menu
ColorLabelMenu color_coding_menu;
connect(&color_coding_menu, &ColorLabelMenu::ColorSelected, this, &Marker::SetColor);
connect(&color_coding_menu, &ColorLabelMenu::ColorSelected, this, &Marker::ColorChanged);
m.addMenu(&color_coding_menu);
m.exec(QCursor::pos());