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:
parent
57a589a6e7
commit
b729b5fc64
5 changed files with 72 additions and 17 deletions
|
@ -68,6 +68,10 @@ int main(int argc, char** argv)
|
|||
|
||||
propbox->show();
|
||||
|
||||
if (argc == 2) {
|
||||
form1->load_from_file(argv[1]);
|
||||
}
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue