diff options
author | George Hazan <ghazan@miranda.im> | 2021-02-06 18:03:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-02-06 18:03:41 +0300 |
commit | 061f5621d3f64835c376a7781af86a5e5ee1145c (patch) | |
tree | 3cc6357ec7b3ccfe2dfcce14beb5d33bf58295e3 /plugins/CrashDumper/src | |
parent | 0fc5e01bb59942e7e407d2182bd22beec8e727b0 (diff) |
fixes #2716 + code cleaning
Diffstat (limited to 'plugins/CrashDumper/src')
-rw-r--r-- | plugins/CrashDumper/src/ui.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index 9dd4dc0cd5..80483b4fe3 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -169,8 +169,11 @@ class COptDialog : public CDlgBase void COptDialog::OnCatchCrashesChange(CCtrlCheck*)
{
m_chkRepSubfolder.Enable(m_chkCatchCrashes.GetState());
- m_lblRestart.Show();
- g_plugin.bNeedRestart = true;
+
+ if (m_bInitialized) {
+ m_lblRestart.Show();
+ g_plugin.bNeedRestart = true;
+ }
}
public:
|