summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper/src/ui.cpp')
-rw-r--r--plugins/CrashDumper/src/ui.cpp7
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: