From 1fd1e4b5f2418e3ac2909658993bfedb615537ec Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 6 May 2021 21:56:40 -0700 Subject: Change brace style to on new line, add initial deliveries view when an order entry is selected --- core/src/UI/UI_MainWindow.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'core/src/UI/UI_MainWindow.cpp') diff --git a/core/src/UI/UI_MainWindow.cpp b/core/src/UI/UI_MainWindow.cpp index 4f09281..62a195e 100644 --- a/core/src/UI/UI_MainWindow.cpp +++ b/core/src/UI/UI_MainWindow.cpp @@ -15,7 +15,8 @@ namespace fs = std::filesystem; namespace { -void ProjectTab_Normal() { +void ProjectTab_Normal() +{ auto ls = LocaleStrings::Instance.get(); auto& gs = GlobalStates::GetInstance(); auto& uis = UIState::GetInstance(); @@ -33,7 +34,8 @@ void ProjectTab_Normal() { ImGui::Text("%s%s", ls->ActiveProjectPath.Get(), uis.CurrentProject->GetPathString().c_str()); } -void ProjectTab_NoProject() { +void ProjectTab_NoProject() +{ auto ls = LocaleStrings::Instance.get(); auto& gs = GlobalStates::GetInstance(); auto& uis = UIState::GetInstance(); @@ -186,7 +188,8 @@ void ProjectTab_NoProject() { } } // namespace -void UI::MainWindow() { +void UI::MainWindow() +{ auto ls = LocaleStrings::Instance.get(); auto& uis = UIState::GetInstance(); -- cgit v1.2.3-70-g09d2