forked from qt-creator/qt-creator
Prevent the Edit View 3D restart upon closing
Also the 2D/3D action updates correctly according to Edit View 3D state. Task-number: QDS-1385 Change-Id: I95d0994e9c56df25a2988eb9d27994268dd1903d Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
77126dc4b8
commit
e5d4224fe4
@@ -63,12 +63,13 @@
|
||||
#include "endpuppetcommand.h"
|
||||
#include "debugoutputcommand.h"
|
||||
#include "puppetalivecommand.h"
|
||||
#include "view3dclosedcommand.h"
|
||||
|
||||
#include <enumeration.h>
|
||||
|
||||
namespace QmlDesigner {
|
||||
|
||||
static bool isRegistered=false;
|
||||
static bool isRegistered = false;
|
||||
|
||||
NodeInstanceServerInterface::NodeInstanceServerInterface(QObject *parent) :
|
||||
QObject(parent)
|
||||
@@ -205,6 +206,9 @@ void NodeInstanceServerInterface::registerCommands()
|
||||
|
||||
qRegisterMetaType<PuppetAliveCommand>("PuppetAliveCommand");
|
||||
qRegisterMetaTypeStreamOperators<PuppetAliveCommand>("PuppetAliveCommand");
|
||||
|
||||
qRegisterMetaType<View3DClosedCommand>("View3DClosedCommand");
|
||||
qRegisterMetaTypeStreamOperators<View3DClosedCommand>("View3DClosedCommand");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user