FIX: When switching from one project to another the CacheGUI wasn't being
cleared. Values from one project were mixed into the other.
This commit is contained in:
parent
0180d3156f
commit
10097d7685
|
@ -243,7 +243,8 @@ CMakeSetupGUIImplementation
|
||||||
{
|
{
|
||||||
m_BuildPathChanged = true;
|
m_BuildPathChanged = true;
|
||||||
m_WhereBuild = expandedAbsolutePath;
|
m_WhereBuild = expandedAbsolutePath;
|
||||||
LoadCacheFromDiskToGUI();
|
m_CacheEntriesList.RemoveAll(); // remove data from other project
|
||||||
|
this->LoadCacheFromDiskToGUI();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -635,6 +636,7 @@ CMakeSetupGUIImplementation
|
||||||
input >> onedirectory;
|
input >> onedirectory;
|
||||||
m_WhereBuild = onedirectory;
|
m_WhereBuild = onedirectory;
|
||||||
binaryPathTextInput->value( m_WhereBuild.c_str() );
|
binaryPathTextInput->value( m_WhereBuild.c_str() );
|
||||||
|
LoadCacheFromDiskToGUI();
|
||||||
} else
|
} else
|
||||||
if( key == "Binary" )
|
if( key == "Binary" )
|
||||||
{
|
{
|
||||||
|
@ -753,6 +755,8 @@ CMakeSetupGUIImplementation
|
||||||
recentBinaryDirectoriesBrowser->data( selected ));
|
recentBinaryDirectoriesBrowser->data( selected ));
|
||||||
binaryPathTextInput->value( m_WhereBuild.c_str() );
|
binaryPathTextInput->value( m_WhereBuild.c_str() );
|
||||||
recentBinaryDirectoriesBrowser->Fl_Widget::hide();
|
recentBinaryDirectoriesBrowser->Fl_Widget::hide();
|
||||||
|
m_CacheEntriesList.RemoveAll(); // remove data from other project
|
||||||
|
LoadCacheFromDiskToGUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue