- minor UI changes (added some parenting so some pop-up messages will be centered in the UI as opposed to the screen)

This commit is contained in:
Marius Stanciu
2022-03-12 19:28:13 +02:00
committed by Marius
parent dc11f1be50
commit 6ad12abba2
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ CHANGELOG for FlatCAM beta
- added to the application an older contribution by another user: Columnar Layout for the Preferences Tab. It can be set in Preferences -> General -> GUI section
- installed an eventFilter for the Sliders in the Preferences tab such that only if a slider has focus the mouse wheel will change its value
- in Preferences made sure that the changes of the scrollbar no longer interfere with signalling changes
- minor UI changes (added some parenting so some pop-up messages will be centered in the UI as opposed to the screen)
11.03.2022

View File

@@ -5669,7 +5669,8 @@ class App(QtCore.QObject):
label=_("Enter the coordinates in format X,Y:"),
icon=QtGui.QIcon(self.resource_location + '/jump_to16.png'),
initial_text=dia_box_location,
reference=self.options['global_jump_ref'])
reference=self.options['global_jump_ref'],
parent=self.ui)
if dia_box.ok is True:
try:
@@ -5928,7 +5929,8 @@ class App(QtCore.QObject):
label=_("Enter the coordinates in format X,Y:"),
icon=QtGui.QIcon(self.resource_location + '/move32_bis.png'),
initial_text=dia_box_location,
reference=self.options['global_move_ref'])
reference=self.options['global_move_ref'],
parent=self.ui)
if dia_box.ok is True:
try: