- 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:
committed by
Marius Stanciu
parent
0ef7924726
commit
094060f6e1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user