make sure clip markers in timeline refresh as soon as marker is edited
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "common/qtutils.h"
|
||||
#include "config/config.h"
|
||||
#include "panel/panelmanager.h"
|
||||
#include "panel/timeline/timeline.h"
|
||||
#include "ui/colorcoding.h"
|
||||
#include "widget/menu/menu.h"
|
||||
#include "widget/menu/menushared.h"
|
||||
@@ -114,6 +116,11 @@ void Marker::paintEvent(QPaintEvent *event)
|
||||
} else {
|
||||
resize(marker_width_, marker_height_);
|
||||
}
|
||||
|
||||
TimelinePanel* timeline = PanelManager::instance()->MostRecentlyFocused<TimelinePanel>();
|
||||
if (timeline) {
|
||||
timeline->timeline_widget()->Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void Marker::mousePressEvent(QMouseEvent* e)
|
||||
|
||||
Reference in New Issue
Block a user