repair broken Snapmatics and fix Snapmatic format issue
This commit is contained in:
parent
f9eee75757
commit
eeb0c01a5f
19 changed files with 487 additions and 344 deletions
|
@ -763,7 +763,16 @@ void PictureDialog::editSnapmaticProperties()
|
|||
void PictureDialog::editSnapmaticRawJson()
|
||||
{
|
||||
SnapmaticPicture *picture = smpic;
|
||||
JsonEditorDialog *jsonEditor = new JsonEditorDialog(picture, this);
|
||||
JsonEditorDialog *jsonEditor;
|
||||
if (rqFullscreen && fullscreenWidget != nullptr)
|
||||
{
|
||||
jsonEditor = new JsonEditorDialog(picture, fullscreenWidget);
|
||||
}
|
||||
else
|
||||
{
|
||||
jsonEditor = new JsonEditorDialog(picture, this);
|
||||
}
|
||||
jsonEditor->setWindowIcon(windowIcon());
|
||||
jsonEditor->setModal(true);
|
||||
jsonEditor->show();
|
||||
jsonEditor->exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue