Merge branch 'master' of https://github.com/olive-editor/olive
This commit is contained in:
@@ -807,6 +807,12 @@ void TimelineWidget::ViewMouseReleased(TimelineViewMouseEvent *event)
|
||||
|
||||
void TimelineWidget::ViewMouseDoubleClicked(TimelineViewMouseEvent *event)
|
||||
{
|
||||
// kHand tool will return nullptr
|
||||
if (!GetActiveTool()) {
|
||||
// Only kHand should return a nullptr
|
||||
Q_ASSERT(Core::instance()->tool() == olive::Tool::kHand);
|
||||
return;
|
||||
}
|
||||
if (GetConnectedNode()) {
|
||||
GetActiveTool()->MouseDoubleClick(event);
|
||||
UpdateViewports();
|
||||
|
||||
@@ -322,7 +322,8 @@ void ViewerWidget::SetFullScreen(QScreen *screen)
|
||||
}
|
||||
|
||||
if (windows_.contains(screen)) {
|
||||
delete windows_.take(screen);
|
||||
ViewerWindow* vw = windows_.take(screen);
|
||||
vw->deleteLater();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user