Skip to content

Commit 70f83f1

Browse files
committed
Update treeview on reopen
1 parent bed415c commit 70f83f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

NppJSONViewer/NppJsonViewer/JsonViewDlg.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ void JsonViewDlg::ShowDlg(bool bShow)
5454
// the dlgDlg should be the index of funcItem where the current function pointer is
5555
data.dlgID = static_cast<int>(CallBackID::SHOW_DOC_PANEL);
5656
::SendMessage(_hParent, NPPM_DMMREGASDCKDLG, 0, (LPARAM)&data);
57+
}
5758

59+
if (bShow)
60+
{
5861
// Draw json tree now
5962
DrawJsonTree();
6063
}

0 commit comments

Comments
 (0)