Tile Editor crash fixes.
This commit is contained in:
parent
324aa7f851
commit
c83ccc76bb
2 changed files with 1 additions and 3 deletions
|
@ -147,8 +147,6 @@ TileEditorMainWindow::~TileEditorMainWindow()
|
||||||
delete m_ui;
|
delete m_ui;
|
||||||
delete m_undoStack;
|
delete m_undoStack;
|
||||||
delete m_rotationMenu;
|
delete m_rotationMenu;
|
||||||
delete m_zoomMenu;
|
|
||||||
|
|
||||||
|
|
||||||
delete m_tileDisplayMenu;
|
delete m_tileDisplayMenu;
|
||||||
delete m_tileEditorMenu;
|
delete m_tileEditorMenu;
|
||||||
|
|
|
@ -68,7 +68,7 @@ public:
|
||||||
|
|
||||||
virtual ~TileEditorContext()
|
virtual ~TileEditorContext()
|
||||||
{
|
{
|
||||||
delete m_tileEditorMainWindow;
|
m_tileEditorMainWindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual QString id() const
|
virtual QString id() const
|
||||||
|
|
Loading…
Reference in a new issue