Default Comments_ShowOnLoad to true, and actually use the value.

This commit is contained in:
baldurk
2018-02-25 12:00:26 +00:00
parent c923b41d3b
commit c0afad8cd8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const rdcstr &origFi
}
});
if(newCapture && m_Notes.contains(lit("comments")))
if(newCapture && m_Notes.contains(lit("comments")) && m_Config.Comments_ShowOnLoad)
{
if(!HasCommentView())
ShowCommentView();
+1 -1
View File
@@ -201,7 +201,7 @@ DECLARE_REFLECTION_STRUCT(BugReport);
\
CONFIG_SETTING_VAL(public, bool, bool, EventBrowser_ColorEventRow, true) \
\
CONFIG_SETTING_VAL(public, bool, bool, Comments_ShowOnLoad, false) \
CONFIG_SETTING_VAL(public, bool, bool, Comments_ShowOnLoad, true) \
\
CONFIG_SETTING_VAL(public, int, int, Formatter_MinFigures, 2) \
\