We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9e0f12 commit e44402eCopy full SHA for e44402e
1 file changed
backends/ida/graffiti.py
@@ -343,8 +343,13 @@ def bring_ida_to_foreground():
343
# UnMinimize
344
WindowMinimized = 0x00000001 # https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#WindowState
345
cur_state = window.windowState()
346
- new_state = cur_state & (~WindowMinimized)
347
- window.setWindowState(new_state)
+ if isinstance(cur_state, int):
+ new_state = cur_state & (~WindowMinimized)
348
+ window.setWindowState(new_state)
349
+ else:
350
+ # IDA 9.2
351
+ from PySide6.QtCore import Qt
352
+ window.setWindowState(cur_state & (~Qt.WindowState.WindowMinimized))
353
354
# Switch desktop / give keyboard control
355
0 commit comments