Просмотр исходного кода

- fixed a small issue with using the shortcut key for toggling the display of Properties tab

Marius Stanciu 5 лет назад
Родитель
Сommit
edb1407b13
5 измененных файлов с 6 добавлено и 4 удалено
  1. 2 0
      CHANGELOG.md
  2. 1 1
      appGUI/MainGUI.py
  3. 1 1
      app_Main.py
  4. BIN
      locale/it/LC_MESSAGES/strings.mo
  5. 2 2
      locale/it/LC_MESSAGES/strings.po

+ 2 - 0
CHANGELOG.md

@@ -18,6 +18,8 @@ CHANGELOG for FlatCAM beta
 - more strings updated
 - modified the shortcut strings and the way the shortcuts were listed in the Shortcut keys list such that it will allow a future Shortcuts Manager
 - updated all the language strings according to the modifications done above
+- fixed a small issue with using the shortcut key for toggling the display of Properties tab
+
 
 25.10.2020
 

+ 1 - 1
appGUI/MainGUI.py

@@ -2722,7 +2722,7 @@ class MainGUI(QtWidgets.QMainWindow):
 
                 # Switch to Selected Tab
                 if key == QtCore.Qt.Key_2:
-                    self.app.on_select_tab('selected')
+                    self.app.on_select_tab('properties')
 
                 # Switch to Tool Tab
                 if key == QtCore.Qt.Key_3:

+ 1 - 1
app_Main.py

@@ -6148,7 +6148,7 @@ class App(QtCore.QObject):
 
         if name == 'project':
             self.ui.notebook.setCurrentWidget(self.ui.project_tab)
-        elif name == 'selected':
+        elif name == 'properties':
             self.ui.notebook.setCurrentWidget(self.ui.properties_tab)
         elif name == 'tool':
             self.ui.notebook.setCurrentWidget(self.ui.tool_tab)

BIN
locale/it/LC_MESSAGES/strings.mo


+ 2 - 2
locale/it/LC_MESSAGES/strings.po

@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "POT-Creation-Date: 2020-10-26 18:25+0200\n"
-"PO-Revision-Date: 2020-10-26 18:33+0200\n"
+"PO-Revision-Date: 2020-10-26 19:28+0200\n"
 "Last-Translator: \n"
 "Language-Team: \n"
 "Language: it\n"
@@ -223,7 +223,7 @@ msgstr "Le aree di esclusione selezionate sono state cancellate."
 
 #: appDatabase.py:40
 msgid "ID"
-msgstr "id"
+msgstr "ID"
 
 #: appDatabase.py:40
 msgid "Tool Name"