mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0029748: Samples - Inspector tool - use recently opened files in TInspectorEXE
- recently files using in open file dialog - correction of TInspectorEXE title to show opened file path by Start
This commit is contained in:
@@ -366,8 +366,7 @@ bool TInspector_Window::LoadPlugin (const TCollection_AsciiString& thePluginName
|
||||
// =======================================================================
|
||||
void TInspector_Window::GetPreferences (TInspectorAPI_PreferencesDataMap& theItem)
|
||||
{
|
||||
theItem.Clear();
|
||||
theItem.Bind ("geometry", TreeModel_Tools::ToString (myMainWindow->saveGeometry()).toStdString().c_str());
|
||||
theItem.Bind ("geometry", TreeModel_Tools::ToString (myMainWindow->saveGeometry()).toStdString().c_str());
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
@@ -414,6 +413,7 @@ void TInspector_Window::OnStorePreferences()
|
||||
if (!anInfo.myCommunicator)
|
||||
continue;
|
||||
|
||||
aParameters->GetPreferences (anInfo.myName, aPreferences);
|
||||
anInfo.myCommunicator->GetPreferences (aPreferences);
|
||||
myParameters->SetPreferences (anInfo.myName, aPreferences);
|
||||
}
|
||||
|
Reference in New Issue
Block a user