diff --git a/extras/Projucer/Source/Application/Windows/jucer_GlobalPathsWindowComponent.h b/extras/Projucer/Source/Application/Windows/jucer_GlobalPathsWindowComponent.h index e35adf7070..9b5e538f24 100644 --- a/extras/Projucer/Source/Application/Windows/jucer_GlobalPathsWindowComponent.h +++ b/extras/Projucer/Source/Application/Windows/jucer_GlobalPathsWindowComponent.h @@ -66,6 +66,9 @@ public: addChildComponent (rescanUserPathButton); rescanUserPathButton.onClick = [] { ProjucerApplication::getApp().rescanUserPathModules(); }; + addAndMakeVisible (resetToDefaultsButton); + resetToDefaultsButton.onClick = [this] { resetCurrentOSPathsToDefaults(); }; + updateValues(); updateFilePathPropertyComponents(); } @@ -127,6 +130,8 @@ public: isFirst = false; } + + resetToDefaultsButton.setBounds (b.removeFromBottom (35).reduced (150, 0)); } void highlightJUCEPath() @@ -149,8 +154,9 @@ private: OwnedArray