Make sure either clips are selected or markers are selected, never both.

This commit is contained in:
Thomas Wilshaw
2021-10-22 22:15:51 +01:00
parent d8101869b9
commit 91ae2ecc44
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -27,6 +27,7 @@
#include "widget/menu/menu.h"
#include "widget/menu/menushared.h"
#include "widget/timeruler/seekablewidget.h"
#include "widget/timelinewidget/timelinewidget.h"
namespace olive {
@@ -108,6 +109,9 @@ void Marker::mousePressEvent(QMouseEvent* e)
update();
}
// Feels very hacky, might it be better to write some access methods?
static_cast<TimelineWidget *>(parent()->parent())->DeselectAll();
}
void Marker::ShowContextMenu() {