mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Use SplashScreen flag for all aqt tooltips (#3194)
* Set custom tooltip flag as SplashScreen Prevents tooltip from showing when parent is out of focus * Update CONTRIBUTORS
This commit is contained in:
parent
c9dccb5217
commit
e50a768e44
2 changed files with 2 additions and 1 deletions
|
@ -173,6 +173,7 @@ jthulhu <https://github.com/jthulhu>
|
|||
Escape0707 <tothesong@gmail.com>
|
||||
Loudwig <https://github.com/Loudwig>
|
||||
Wu Yi-Wei <https://github.com/Ianwu0812>
|
||||
Voczi <dev@voczi.com>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -976,7 +976,7 @@ def tooltip(
|
|||
)
|
||||
lab.setFrameStyle(QFrame.Shape.Panel)
|
||||
lab.setLineWidth(2)
|
||||
lab.setWindowFlags(Qt.WindowType.ToolTip)
|
||||
lab.setWindowFlags(Qt.WindowType.SplashScreen)
|
||||
if not theme_manager.night_mode:
|
||||
p = QPalette()
|
||||
p.setColor(QPalette.ColorRole.Window, QColor("#feffc4"))
|
||||
|
|
Loading…
Reference in a new issue