mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
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
2 changed files with 1 additions and 2 deletions
|
@ -173,7 +173,6 @@ jthulhu <https://github.com/jthulhu>
|
||||||
Escape0707 <tothesong@gmail.com>
|
Escape0707 <tothesong@gmail.com>
|
||||||
Loudwig <https://github.com/Loudwig>
|
Loudwig <https://github.com/Loudwig>
|
||||||
Wu Yi-Wei <https://github.com/Ianwu0812>
|
Wu Yi-Wei <https://github.com/Ianwu0812>
|
||||||
Voczi <dev@voczi.com>
|
|
||||||
|
|
||||||
********************
|
********************
|
||||||
|
|
||||||
|
|
|
@ -976,7 +976,7 @@ def tooltip(
|
||||||
)
|
)
|
||||||
lab.setFrameStyle(QFrame.Shape.Panel)
|
lab.setFrameStyle(QFrame.Shape.Panel)
|
||||||
lab.setLineWidth(2)
|
lab.setLineWidth(2)
|
||||||
lab.setWindowFlags(Qt.WindowType.SplashScreen)
|
lab.setWindowFlags(Qt.WindowType.ToolTip)
|
||||||
if not theme_manager.night_mode:
|
if not theme_manager.night_mode:
|
||||||
p = QPalette()
|
p = QPalette()
|
||||||
p.setColor(QPalette.ColorRole.Window, QColor("#feffc4"))
|
p.setColor(QPalette.ColorRole.Window, QColor("#feffc4"))
|
||||||
|
|
Loading…
Reference in a new issue