Fix incorrect initial edit mode
parent
30971048de
commit
3295c1b767
|
@ -16,7 +16,8 @@ SkeletonDocument::SkeletonDocument() :
|
||||||
m_resultMeshIsObsolete(false),
|
m_resultMeshIsObsolete(false),
|
||||||
m_resultMesh(nullptr),
|
m_resultMesh(nullptr),
|
||||||
m_meshGenerator(nullptr),
|
m_meshGenerator(nullptr),
|
||||||
m_batchChangeRefCount(0)
|
m_batchChangeRefCount(0),
|
||||||
|
editMode(SkeletonDocumentEditMode::Select)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -534,6 +534,11 @@ void SkeletonDocumentWindow::showEvent(QShowEvent *event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SkeletonDocumentWindow::mousePressEvent(QMouseEvent *event)
|
||||||
|
{
|
||||||
|
QMainWindow::mousePressEvent(event);
|
||||||
|
}
|
||||||
|
|
||||||
void SkeletonDocumentWindow::changeTurnaround()
|
void SkeletonDocumentWindow::changeTurnaround()
|
||||||
{
|
{
|
||||||
QString fileName = QFileDialog::getOpenFileName(this, QString(), QString(),
|
QString fileName = QFileDialog::getOpenFileName(this, QString(), QString(),
|
||||||
|
|
|
@ -26,6 +26,7 @@ public:
|
||||||
protected:
|
protected:
|
||||||
void showEvent(QShowEvent *event);
|
void showEvent(QShowEvent *event);
|
||||||
void closeEvent(QCloseEvent *event);
|
void closeEvent(QCloseEvent *event);
|
||||||
|
void mousePressEvent(QMouseEvent *event);
|
||||||
public slots:
|
public slots:
|
||||||
void changeTurnaround();
|
void changeTurnaround();
|
||||||
void save();
|
void save();
|
||||||
|
|
Loading…
Reference in New Issue