Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
fix module panel not being shown by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cpdt committed Sep 26, 2018
1 parent d601e64 commit f3e694a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/widgets/windows/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ void MainWindow::setProject(std::unique_ptr<AxiomModel::Project> project) {
assert(defaultSurface.value());
auto surfacePanel = showSurface(nullptr, *defaultSurface.value(), false, true);

_modulePanel->show();

_historyPanel = std::make_unique<HistoryPanel>(&_project->mainRoot().history(), this);
addDockWidget(Qt::RightDockWidgetArea, _historyPanel.get());
_historyPanel->hide();
Expand Down

0 comments on commit f3e694a

Please sign in to comment.