Skip to content

Commit

Permalink
Crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SinghRajenM committed Dec 7, 2022
1 parent b1031d3 commit 12f065f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NppJSONViewer/NppJsonViewer/NppJsonPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void NppJsonPlugin::OpenSettingDlg()
ConstructSetting();
auto nCmdId = m_shortcutCommands.GetCommandID(CallBackID::SETTING);

if (!m_pAboutDlg)
if (!m_pSettingsDlg)
m_pSettingsDlg = std::make_unique<SettingsDlg>(reinterpret_cast<HINSTANCE>(m_hModule), m_NppData._nppHandle, nCmdId, m_configPath, m_pSetting);
bool isShown = m_pSettingsDlg->ShowDlg(true);

Expand Down

0 comments on commit 12f065f

Please sign in to comment.