ide: fix active bith depth dropbox is not updated with value from workspace file.
authorRejean Loyer <redj@ecere.com>
Sun, 7 Dec 2014 00:11:43 +0000 (19:11 -0500)
committerJerome St-Louis <jerome@ecere.com>
Wed, 9 Dec 2015 23:11:36 +0000 (18:11 -0500)
ide/src/ide.ec

index 274796a..71cb82e 100644 (file)
@@ -1889,6 +1889,7 @@ class IDEWorkSpace : Window
       }
       if(!toolBar.activeCompiler.currentRow && toolBar.activeCompiler.firstRow)
          toolBar.activeCompiler.SelectRow(toolBar.activeCompiler.firstRow);
+      toolBar.activeBitDepth.SelectRow(toolBar.activeBitDepth.FindRow(workspace ? workspace.bitDepth : 0));
    }
 
    void UpdateToolBarActiveConfigs(bool selectionOnly)