Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Initial Screen #308

Merged
merged 3 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions frontend/mainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ MainWindow::MainWindow(QCommandLineParser &cliParser) : QMainWindow(), backend_(
// Set the window title
setWindowTitle(QString("JournalViewer 2 (v%1)").arg(JV2VERSION));

// Make sure the Loading page is visible immediately
ui_.MainStack->setCurrentIndex(JournalSource::JournalSourceState::Loading);

// Set up standard journal sources and get any user-defined ones
setUpStandardJournalSources(cliParser);
getUserJournalSources();
Expand Down
2 changes: 1 addition & 1 deletion frontend/mainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>3</number>
<number>0</number>
</property>
<widget class="QWidget" name="LoadingPage">
<layout class="QVBoxLayout" name="verticalLayout_6">
Expand Down
Loading