- added a parent to some of the FCInputDialog widgets used in the app such that those pop-up windows will b displayed in the center of the app main window as opposed to the center of the screen

- finished the Google-translation of not translated strings in Russian language
This commit is contained in:
Marius Stanciu
2020-10-31 21:50:56 +02:00
committed by Marius Stanciu
parent 0ef7924726
commit 094060f6e1
11 changed files with 4537 additions and 4672 deletions

View File

@@ -383,7 +383,8 @@ class ToolPaint(AppTool, Gerber):
def on_add_tool_by_key(self):
tool_add_popup = FCInputDialog(title='%s...' % _("New Tool"),
text='%s:' % _('Enter a Tool Diameter'),
min=0.0000, max=99.9999, decimals=4)
min=0.0000, max=99.9999, decimals=4,
parent=self.app.ui)
tool_add_popup.setWindowIcon(QtGui.QIcon(self.app.resource_location + '/letter_t_32.png'))
val, ok = tool_add_popup.get_value()