Browse Source
Merge pull request #1190 from FearlessTobi/im-so-retarded
yuzu: Fix two stupid errors made in #1141
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
src/yuzu/main.cpp
-
src/yuzu/main.ui
|
|
|
@ -893,6 +893,7 @@ void GMainWindow::OnStartGame() { |
|
|
|
|
|
|
|
ui.action_Pause->setEnabled(true); |
|
|
|
ui.action_Stop->setEnabled(true); |
|
|
|
ui.action_Restart->setEnabled(true); |
|
|
|
} |
|
|
|
|
|
|
|
void GMainWindow::OnPauseGame() { |
|
|
|
@ -901,7 +902,6 @@ void GMainWindow::OnPauseGame() { |
|
|
|
ui.action_Start->setEnabled(true); |
|
|
|
ui.action_Pause->setEnabled(false); |
|
|
|
ui.action_Stop->setEnabled(true); |
|
|
|
ui.action_Restart->setEnabled(true); |
|
|
|
} |
|
|
|
|
|
|
|
void GMainWindow::OnStopGame() { |
|
|
|
|
|
|
|
@ -74,6 +74,7 @@ |
|
|
|
<addaction name="action_Start"/> |
|
|
|
<addaction name="action_Pause"/> |
|
|
|
<addaction name="action_Stop"/> |
|
|
|
<addaction name="action_Restart"/> |
|
|
|
<addaction name="separator"/> |
|
|
|
<addaction name="action_Configure"/> |
|
|
|
</widget> |
|
|
|
|