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)
committerRejean Loyer <redj@ecere.com>
Mon, 16 Mar 2015 05:31:39 +0000 (01:31 -0400)
ide/src/ide.ec

index 87b9ef0..ceea56c 100755 (executable)
@@ -1894,6 +1894,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)