- fixed some minor issues when doing a project save
This commit is contained in:
@@ -28,6 +28,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- another GUI element for which I've overloaded the context menu to make it translatable: _ExpandableTextEdit
|
- another GUI element for which I've overloaded the context menu to make it translatable: _ExpandableTextEdit
|
||||||
- overloaded the context menu for FCSpinner and for FCDoubleSpinner
|
- overloaded the context menu for FCSpinner and for FCDoubleSpinner
|
||||||
- added new strings and therefore updated the translation strings
|
- added new strings and therefore updated the translation strings
|
||||||
|
- fixed some minor issues when doing a project save
|
||||||
|
|
||||||
25.10.2020
|
25.10.2020
|
||||||
|
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ def restart_program(app, ask=None):
|
|||||||
response = msgbox.clickedButton()
|
response = msgbox.clickedButton()
|
||||||
|
|
||||||
if response == bt_yes:
|
if response == bt_yes:
|
||||||
app.on_file_saveprojectas(use_thread=True, quit_action=True)
|
app.f_handlers.on_file_saveprojectas(use_thread=True, quit_action=True)
|
||||||
|
|
||||||
app.preferencesUiManager.save_defaults()
|
app.preferencesUiManager.save_defaults()
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
|
|||||||
@@ -9022,7 +9022,7 @@ class MenuFileHandlers(QtCore.QObject):
|
|||||||
|
|
||||||
date = str(datetime.today()).rpartition('.')[0]
|
date = str(datetime.today()).rpartition('.')[0]
|
||||||
date = ''.join(c for c in date if c not in ':-')
|
date = ''.join(c for c in date if c not in ':-')
|
||||||
date = self.date.replace(' ', '_')
|
date = date.replace(' ', '_')
|
||||||
|
|
||||||
filter_ = "FlatCAM Project .FlatPrj (*.FlatPrj);; All Files (*.*)"
|
filter_ = "FlatCAM Project .FlatPrj (*.FlatPrj);; All Files (*.*)"
|
||||||
try:
|
try:
|
||||||
@@ -10390,8 +10390,8 @@ class MenuFileHandlers(QtCore.QObject):
|
|||||||
# Serialize the whole project
|
# Serialize the whole project
|
||||||
d = {
|
d = {
|
||||||
"objs": [obj.to_dict() for obj in self.app.collection.get_list()],
|
"objs": [obj.to_dict() for obj in self.app.collection.get_list()],
|
||||||
"options": self.options,
|
"options": self.app.options,
|
||||||
"version": self.version
|
"version": self.app.version
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.defaults["global_save_compressed"] is True:
|
if self.defaults["global_save_compressed"] is True:
|
||||||
|
|||||||
Binary file not shown.
@@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"POT-Creation-Date: 2020-10-27 01:13+0200\n"
|
"POT-Creation-Date: 2020-10-27 01:13+0200\n"
|
||||||
"PO-Revision-Date: 2020-10-27 01:17+0200\n"
|
"PO-Revision-Date: 2020-10-27 01:39+0200\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: ro\n"
|
"Language: ro\n"
|
||||||
@@ -356,7 +356,7 @@ msgstr "Găurire"
|
|||||||
#: appDatabase.py:2178 appTools/ToolIsolation.py:1101
|
#: appDatabase.py:2178 appTools/ToolIsolation.py:1101
|
||||||
#: appTools/ToolIsolation.py:2576 appTools/ToolNCC.py:4060
|
#: appTools/ToolIsolation.py:2576 appTools/ToolNCC.py:4060
|
||||||
msgid "Isolation"
|
msgid "Isolation"
|
||||||
msgstr "Tip de izolare"
|
msgstr "Izolare"
|
||||||
|
|
||||||
#: appDatabase.py:275 appDatabase.py:1850 appDatabase.py:2186
|
#: appDatabase.py:275 appDatabase.py:1850 appDatabase.py:2186
|
||||||
#: appEditors/AppGeoEditor.py:528 appGUI/MainGUI.py:1618
|
#: appEditors/AppGeoEditor.py:528 appGUI/MainGUI.py:1618
|
||||||
|
|||||||
Reference in New Issue
Block a user