From e7533a9a8ac40e1709f0b5f1a70bba39a1d9abe3 Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Wed, 30 Jan 2019 22:46:10 -0800 Subject: [PATCH] [ui] Rename "play" to "preview" --- corrscope/gui/__init__.py | 6 +++--- corrscope/gui/mainwindow.ui | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/corrscope/gui/__init__.py b/corrscope/gui/__init__.py index 46c00e1..a56fd62 100644 --- a/corrscope/gui/__init__.py +++ b/corrscope/gui/__init__.py @@ -111,7 +111,7 @@ class MainWindow(qw.QMainWindow): self.actionOpen.triggered.connect(self.on_action_open) self.actionSave.triggered.connect(self.on_action_save) self.actionSaveAs.triggered.connect(self.on_action_save_as) - self.actionPlay.triggered.connect(self.on_action_play) + self.actionPreview.triggered.connect(self.on_action_preview) self.actionRender.triggered.connect(self.on_action_render) self.actionExit.triggered.connect(qw.QApplication.closeAllWindows) @@ -268,7 +268,7 @@ class MainWindow(qw.QMainWindow): actionOpen: qw.QAction actionSave: qw.QAction actionSaveAs: qw.QAction - actionPlay: qw.QAction + actionPreview: qw.QAction actionRender: qw.QAction actionExit: qw.QAction @@ -333,7 +333,7 @@ class MainWindow(qw.QMainWindow): else: return False - def on_action_play(self): + def on_action_preview(self): """ Launch CorrScope and ffplay. """ error_msg = "Cannot play, another play/render is active" if self.corr_thread is not None: diff --git a/corrscope/gui/mainwindow.ui b/corrscope/gui/mainwindow.ui index ea1a95a..7eb0156 100644 --- a/corrscope/gui/mainwindow.ui +++ b/corrscope/gui/mainwindow.ui @@ -572,7 +572,7 @@ - + @@ -601,7 +601,7 @@ - + @@ -644,9 +644,9 @@ Ctrl+Q - + - &Play + &Preview Ctrl+P