fix for win32

This commit is contained in:
Adam D. Ruppe 2017-04-21 22:38:17 -04:00
parent 2f31242759
commit 2f96b89c71
1 changed files with 1 additions and 2 deletions

View File

@ -3780,8 +3780,7 @@ class MainWindow : Window {
this.menuBar = menuBar;
if(toolbarActions.length) {
auto tb = new ToolBar(toolbarActions);
addChild(tb, 0);
auto tb = new ToolBar(toolbarActions, this);
}
}