pop window on current desktop if window was visible on another desktop

if window was already shown on a desktop and the tray was clicked, the window
would not pop
This commit is contained in:
Hg
2022-10-08 14:06:22 +02:00
parent 2f08f18c02
commit 5192dead01

View File

@@ -152,6 +152,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
)
self.show()
self.activateWindow()
# pops on current desktop if window was visible on another desktop
self.raise_()
def link_callbacks(self):
self.pb_refresh.clicked.connect(self.refresh.emit)