Animation Editor: Morph targets window shows duplicated morph targets (#5831)
Dialog stack wasn't deleting the morph target widgets after reinitializing the window which ended up in duplicated morph targets Signed-off-by: Benjamin Jillich <jillich@amazon.com>
This commit is contained in:
@@ -6,10 +6,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __MYSTICQT_DIALOGSTACK_H
|
||||
#define __MYSTICQT_DIALOGSTACK_H
|
||||
#pragma once
|
||||
|
||||
//
|
||||
#if !defined(Q_MOC_RUN)
|
||||
#include "MysticQtConfig.h"
|
||||
#include <QtWidgets/QWidget>
|
||||
@@ -30,14 +28,10 @@ namespace MysticQt
|
||||
{
|
||||
class DialogStackSplitter;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
class MYSTICQT_API DialogStack
|
||||
: public QScrollArea
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT // AUTOMOC
|
||||
|
||||
public:
|
||||
DialogStack(QWidget* parent = nullptr);
|
||||
@@ -89,5 +83,3 @@ namespace MysticQt
|
||||
int32 m_prevMouseY;
|
||||
};
|
||||
} // namespace MysticQt
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user