mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Load JSON file into JSON Editor during application boot
This commit is contained in:
parent
41d8ac36d8
commit
7a9363064c
@ -50,10 +50,7 @@ FramelessWindow.CustomWindow {
|
||||
//
|
||||
// Ensure that current JSON file is shown
|
||||
//
|
||||
onVisibleChanged: {
|
||||
if (visible)
|
||||
Cpp_JSON_Editor.openJsonFile(Cpp_JSON_Generator.jsonMapFilepath)
|
||||
}
|
||||
Component.onCompleted: Cpp_JSON_Editor.openJsonFile(Cpp_JSON_Generator.jsonMapFilepath)
|
||||
|
||||
//
|
||||
// Ask user to save changes before closing the window
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <QHostInfo>
|
||||
#include <QByteArray>
|
||||
#include <QHostAddress>
|
||||
#include <QSslConfiguration>
|
||||
|
||||
#include <qmqtt.h>
|
||||
#include <DataTypes.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user