Optimize the display window when activating the window
This commit is contained in:
parent
093bded823
commit
c46123c1d4
|
@ -1960,7 +1960,7 @@ class MainWindow(QMainWindow):
|
|||
self.tray_menu.addAction(action)
|
||||
self.tray_icon.setContextMenu(self.tray_menu)
|
||||
self.tray_icon.show()
|
||||
QShortcut(QKeySequence('F5'), self).activated.connect(self.on_debug_reload_external_plugins)
|
||||
# QShortcut(QKeySequence('F5'), self).activated.connect(self.on_debug_reload_external_plugins)
|
||||
self.init()
|
||||
|
||||
def closeEvent(self, event):
|
||||
|
@ -1996,6 +1996,7 @@ class MainWindow(QMainWindow):
|
|||
|
||||
def window_show(self):
|
||||
self.showNormal()
|
||||
self.activateWindow()
|
||||
self.window_position_reset()
|
||||
|
||||
def window_hide(self):
|
||||
|
|
Loading…
Reference in New Issue