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:
parent
5d0b0733c2
commit
4a55f69e48
|
@ -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>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue