Merge pull request #3513 from valentinvanelslande/layouts-fix,gitignore

.gitignore: Add CMakeLists.txt.user to Project/editor files, citra_qt: Sync menu UI settings after changing the layout with F10
This commit is contained in:
Weiyi Wang 2018-03-15 15:54:24 +02:00 committed by GitHub
commit a0f70912e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ src/common/scm_rev.cpp
.idea/ .idea/
.vs/ .vs/
.vscode/ .vscode/
CMakeLists.txt.user
# *nix related # *nix related
# Common convention for backup or temporary files # Common convention for backup or temporary files

View File

@ -1011,6 +1011,7 @@ void GMainWindow::ToggleScreenLayout() {
} }
Settings::values.layout_option = new_layout; Settings::values.layout_option = new_layout;
SyncMenuUISettings();
Settings::Apply(); Settings::Apply();
} }