mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Refresh parts list after preferences changed.
This commit is contained in:
parent
be388d167b
commit
39241c8aad
2 changed files with 2 additions and 1 deletions
|
@ -610,5 +610,6 @@ void lcApplication::ShowPreferencesDialog()
|
|||
strcpy(opts.strHeader, m_strHeader);
|
||||
*/
|
||||
|
||||
gMainWindow->SetShadingMode(Options.Preferences.mShadingMode);
|
||||
gMainWindow->UpdateAllViews();
|
||||
}
|
||||
|
|
|
@ -246,6 +246,7 @@ public:
|
|||
void SetLockZ(bool LockZ);
|
||||
void SetRelativeTransform(bool RelativeTransform);
|
||||
void SetCurrentPieceInfo(PieceInfo* Info);
|
||||
void SetShadingMode(lcShadingMode ShadingMode);
|
||||
|
||||
void NewProject();
|
||||
bool OpenProject(const QString& FileName);
|
||||
|
@ -318,7 +319,6 @@ protected:
|
|||
void ShowUpdatesDialog();
|
||||
void ShowAboutDialog();
|
||||
void ShowPrintDialog();
|
||||
void SetShadingMode(lcShadingMode ShadingMode);
|
||||
|
||||
lcModelTabWidget* GetTabWidgetForModel(lcModel* Model) const
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue