Skip to content

Commit 5acaa66

Browse files
committed
disable menu bar when opening file
1 parent ec03ffd commit 5acaa66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImGuiController.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ void ste::ImGuiController::Setup(GLFWwindow* window, const std::string& fileToOp
164164
{
165165
Setup(window);
166166
fileToEditorMap[fileToOpen] = CreateNewEditor(fileToOpen.c_str());
167+
menuBarEnabled = false;
167168
}
168169

169170
bool ste::ImGuiController::HasControl()

0 commit comments

Comments
 (0)