summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-08-28 15:16:03 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-08-28 15:16:03 +0200
commit4a56931703627a8bc57ed1dc777980e2f99da0c1 (patch)
tree8cec652adf5957e906bfd2b785c91d47dcde0f2a
parentMerge pull request #1165 from bunnei/shader-cache (diff)
downloadyuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar.gz
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar.bz2
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar.lz
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar.xz
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.tar.zst
yuzu-4a56931703627a8bc57ed1dc777980e2f99da0c1.zip
-rw-r--r--src/yuzu/main.cpp2
-rw-r--r--src/yuzu/main.ui1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 9ca1626d1..ffa9f72aa 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -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() {
diff --git a/src/yuzu/main.ui b/src/yuzu/main.ui
index d4c26b80a..faa0c626a 100644
--- a/src/yuzu/main.ui
+++ b/src/yuzu/main.ui
@@ -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>