diff options
| author | tassaron | 2017-07-13 00:05:11 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-13 00:05:11 -0400 |
| commit | 8811b699a9c2d6b78af1e2a332d3031aef73aec4 (patch) | |
| tree | e62f318fb625c5c79314de2eb0ce4b7b93e7496c /src/mainwindow.py | |
| parent | 2e37dafd7036973a315b525f131850a6fb6d0b35 (diff) | |
merge consecutive static components
Diffstat (limited to 'src/mainwindow.py')
| -rw-r--r-- | src/mainwindow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py index d21ba0a..771b6b8 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -306,6 +306,7 @@ class MainWindow(QtWidgets.QMainWindow): QtWidgets.QShortcut("Ctrl+A", self.window, self.openSaveProjectDialog) QtWidgets.QShortcut("Ctrl+O", self.window, self.openOpenProjectDialog) QtWidgets.QShortcut("Ctrl+N", self.window, self.createNewProject) + QtWidgets.QShortcut("Ctrl+Alt+Shift+R", self.window, self.drawPreview) QtWidgets.QShortcut( "Ctrl+T", self.window, @@ -585,6 +586,7 @@ class MainWindow(QtWidgets.QMainWindow): self.autosave(force) self.updateWindowTitle() + @QtCore.pyqtSlot(QtGui.QImage) def showPreviewImage(self, image): self.previewWindow.changePixmap(image) |
