Skip to content

Commit

Permalink
UI layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Mar 6, 2024
1 parent 43affcd commit 26171b1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/app/GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,9 @@ void MainWindow::setupMenuBar()
this, [this](bool triggered) {
if (mTimelineWindowAct->isChecked()) {
openTimelineWindow();
} else { mTimeline->setVisible(triggered); }
} else {
mUI->setDockVisible(tr("Timeline"), triggered);
}
});

mTimelineWindowAct = mViewMenu->addAction(tr("Timeline Window"));
Expand All @@ -1066,8 +1068,10 @@ void MainWindow::setupMenuBar()
connect(mRenderWindowAct, &QAction::triggered,
this, [this](bool triggered) {
if (!triggered) {
statusBar()->showMessage(tr("Restart Friction to apply"), 5000);
// TODO: move widget from window to main ui without restart
mTabQueueIndex = mTabProperties->addTab(mRenderWidget,
QIcon::fromTheme("render_animation"),
tr("Queue"));
mRenderWindow->deleteLater();
} else {
openRenderQueueWindow();
}
Expand Down

0 comments on commit 26171b1

Please sign in to comment.