- made sure that the object selection will not work while in Editors or in the App Tools

- some minor changes to strings and icons
This commit is contained in:
Marius Stanciu
2020-11-02 04:25:42 +02:00
committed by Marius
parent 8b4cf118d9
commit 2cff6dc854
3 changed files with 12 additions and 7 deletions

View File

@@ -342,8 +342,8 @@ class MainGUI(QtWidgets.QMainWindow):
QtGui.QIcon(self.app.resource_location + '/edit16.png'),
'%s\t%s' % (_('Edit Object'), _('E')))
self.menueditok = self.menuedit.addAction(
QtGui.QIcon(self.app.resource_location + '/edit_ok16.png'),
'%s\t%s' % (_('Close Editor'), _('Ctrl+S')))
QtGui.QIcon(self.app.resource_location + '/power16.png'),
'%s\t%s' % (_('Exit Editor'), _('Ctrl+S')))
# adjust the initial state of the menu entries related to the editor
self.menueditedit.setDisabled(False)
@@ -1693,7 +1693,7 @@ class MainGUI(QtWidgets.QMainWindow):
self.popmenu_edit = self.popMenu.addAction(
QtGui.QIcon(self.app.resource_location + '/edit32.png'), _("Edit"))
self.popmenu_save = self.popMenu.addAction(
QtGui.QIcon(self.app.resource_location + '/floppy32.png'), _("Close Editor"))
QtGui.QIcon(self.app.resource_location + '/power16.png'), _("Exit Editor"))
self.popmenu_save.setVisible(False)
self.popMenu.addSeparator()