Revert "Use SplashScreen flag for all aqt tooltips (#3194)"

This reverts commit e50a768e44.

This appears to have caused a regression with keyboard shortcuts

https://forums.ankiweb.net/t/anki-24-06-release-candidate/44926/14
This commit is contained in:
Damien Elmes 2024-05-22 17:06:37 +07:00
parent 5d0b0733c2
commit 4a55f69e48
2 changed files with 1 additions and 2 deletions

View File

@ -173,7 +173,6 @@ 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>
********************

View File

@ -976,7 +976,7 @@ def tooltip(
)
lab.setFrameStyle(QFrame.Shape.Panel)
lab.setLineWidth(2)
lab.setWindowFlags(Qt.WindowType.SplashScreen)
lab.setWindowFlags(Qt.WindowType.ToolTip)
if not theme_manager.night_mode:
p = QPalette()
p.setColor(QPalette.ColorRole.Window, QColor("#feffc4"))