mirror of
https://github.com/leozide/leocad.git
synced 2026-09-12 01:23:35 +00:00
Refresh parts list after preferences changed.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user