summaryrefslogtreecommitdiff
path: root/raphodo/jobcodepanel.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-10-02 06:51:13 +0200
commitc5fc6c6030d7d9d1b2af3d5165bebed3decd741b (patch)
treedfacccc9ae0747e53e53e5388b2ecd0623e040c3 /raphodo/jobcodepanel.py
parent77dd64c0757c0191b276e65c24ee9874959790c8 (diff)
New upstream version 0.9.4upstream/0.9.4
Diffstat (limited to 'raphodo/jobcodepanel.py')
-rw-r--r--raphodo/jobcodepanel.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/raphodo/jobcodepanel.py b/raphodo/jobcodepanel.py
index 87ee7df..2337691 100644
--- a/raphodo/jobcodepanel.py
+++ b/raphodo/jobcodepanel.py
@@ -40,7 +40,7 @@ from PyQt5.QtGui import (
from raphodo.constants import (JobCodeSort, ThumbnailBackgroundName, )
-from raphodo.viewutils import QFramedWidget, QNarrowListWidget, standardIconSize
+from raphodo.viewutils import QFramedWidget, QNarrowListWidget, standardIconSize, translateButtons
from raphodo.panelview import QPanelView
from raphodo.preferences import Preferences
from raphodo.messagewidget import MessageWidget, MessageButton
@@ -135,8 +135,9 @@ class JobCodeDialog(QDialog):
jobCodeLabel.setBuddy(self.jobCodeComboBox)
self.rememberCheckBox = QCheckBox(_("&Remember this choice"))
self.rememberCheckBox.setChecked(parent.prefs.remember_job_code)
- buttonBox = QDialogButtonBox(QDialogButtonBox.Ok|
- QDialogButtonBox.Cancel)
+ buttonBox = QDialogButtonBox(QDialogButtonBox.Ok| QDialogButtonBox.Cancel)
+ translateButtons(buttonBox)
+
grid = QGridLayout()
grid.addWidget(iconLabel, 0, 0, 4, 1)
grid.addWidget(instructionLabel, 0, 1, 1, 2)