diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index b99e25d323..c5f6a5d247 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -820,7 +820,7 @@ void EDA_BASE_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg ) int fileHistorySize = Pgm().GetCommonSettings()->m_System.file_history_size; // Load the recently used files into the history menu - m_fileHistory = new FILE_HISTORY( (unsigned) std::max( 0, fileHistorySize ), + m_fileHistory = new FILE_HISTORY( (unsigned) std::max( 1, fileHistorySize ), ID_FILE1, ID_FILE_LIST_CLEAR ); m_fileHistory->Load( *aCfg ); }