Fix variable names
offlate/ui/editor.py
388 | 388 | updateAct.setStatusTip(self.tr('Get modifications from upstream')) | |
389 | 389 | updateAct.triggered.connect(self.update) | |
390 | 390 | ||
391 | - | sendAct = QAction(QIcon('close.png'), self.tr('Close'), self) | |
392 | - | sendAct.setStatusTip(self.tr('Close current project')) | |
393 | - | sendAct.triggered.connect(self.closeProject) | |
394 | - | ||
395 | - | closeAct = QAction(QIcon('upload.png'), self.tr('Send'), self) | |
396 | - | closeAct.setShortcut('Ctrl+E') | |
397 | - | closeAct.setStatusTip(self.tr('Send modifications upstream')) | |
398 | - | closeAct.triggered.connect(self.send) | |
391 | + | closeAct = QAction(QIcon('close.png'), self.tr('Close'), self) | |
392 | + | closeAct.setStatusTip(self.tr('Close current project')) | |
393 | + | closeAct.triggered.connect(self.closeProject) | |
394 | + | ||
395 | + | sendAct = QAction(QIcon('upload.png'), self.tr('Send'), self) | |
396 | + | sendAct.setShortcut('Ctrl+E') | |
397 | + | sendAct.setStatusTip(self.tr('Send modifications upstream')) | |
398 | + | sendAct.triggered.connect(self.send) | |
399 | 399 | ||
400 | 400 | settingsAct = QAction(QIcon('settings.png'), self.tr('Settings'), self) | |
401 | 401 | settingsAct.setShortcut('Ctrl+P') |