1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:35:08 +00:00

VisualBuilder: Support loading a saved form from JSON.

The form to load is specified on the command line, e.g "vb test.frm".
This commit is contained in:
Andreas Kling 2019-06-29 12:06:46 +02:00
parent 57a589a6e7
commit b729b5fc64
5 changed files with 72 additions and 17 deletions

View file

@ -68,6 +68,10 @@ int main(int argc, char** argv)
propbox->show();
if (argc == 2) {
form1->load_from_file(argv[1]);
}
return app.exec();
}