ide/GlobalSettingsDialog: (#956) Fixed SYSROOT browser should expect a directory
authorJerome St-Louis <jerome@ecere.com>
Thu, 8 Aug 2013 05:53:00 +0000 (01:53 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 8 Aug 2013 05:53:00 +0000 (01:53 -0400)
ide/src/dialogs/GlobalSettingsDialog.ec

index 3e33130..0ae497a 100644 (file)
@@ -744,7 +744,7 @@ class CompilerToolchainTab : CompilersSubTab
    PathBox sysroot
    {
       this, anchor = { left = margin, top = 242, right = 8 };
-      text = $"SYSROOT", browseDialog = toolchainFileDialog, NotifyModified = NotifyModifiedDocument;
+      text = $"SYSROOT", typeExpected = directory, browseDialog = toolchainFileDialog, NotifyModified = NotifyModifiedDocument;
    };
    Label executableLauncherLabel { this, position = { 8, 272 }, labeledWindow = executableLauncher, tabCycle = false, inactive = true };
    PathBox executableLauncher