forked from qt-creator/qt-creator
		
	Delay widget creation of options pages till their category is shown
Also add the alternative way: IOptionsPageProvider, which states a category, and is asked for a list of options pages for that category when it is shown. Task-number: QTCREATORBUG-3131
This commit is contained in:
		@@ -315,6 +315,8 @@ void CMakeSettingsPage::saveSettings() const
 | 
			
		||||
 | 
			
		||||
void CMakeSettingsPage::apply()
 | 
			
		||||
{
 | 
			
		||||
    if (!m_pathchooser) // page was never shown
 | 
			
		||||
        return;
 | 
			
		||||
    if (m_cmakeExecutable == m_pathchooser->path())
 | 
			
		||||
        return;
 | 
			
		||||
    m_cmakeExecutable = m_pathchooser->path();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user