Move MatterControl settings to dedicated DialogPage
This commit is contained in:
parent
0cc0530ca0
commit
ab7a5c5292
3 changed files with 407 additions and 242 deletions
|
|
@ -190,14 +190,6 @@ namespace MatterHackers.MatterControl
|
|||
ApplicationController.Instance.LaunchBrowser("http://www.matterhackers.com");
|
||||
});
|
||||
contentRow.AddChild(siteLink);
|
||||
|
||||
var clearCacheLink = theme.CreateDialogButton("Clear Cache".Localize());
|
||||
clearCacheLink.Click += (s, e) => UiThread.RunOnIdle(() =>
|
||||
{
|
||||
CacheDirectory.DeleteCacheData();
|
||||
});
|
||||
|
||||
this.AddPageAction(clearCacheLink, highlightFirstAction: false);
|
||||
}
|
||||
|
||||
private class LazyLicenseText : GuiWidget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue