Skip to content

Commit

Permalink
Merge pull request #21 from sezelt/dev
Browse files Browse the repository at this point in the history
Tooltip fix
  • Loading branch information
sezelt authored Jul 25, 2024
2 parents 423b3cf + 75dbfdb commit 1d48384
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "py4D_browser"
version = "1.1.0"
version = "1.1.1"
authors = [
{ name="Steven Zeltmann", email="[email protected]" },
]
Expand Down
6 changes: 5 additions & 1 deletion src/py4D_browser/update_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,11 @@ def update_tooltip(self):
modifier_keys = QApplication.queryKeyboardModifiers()
# print(self.isHidden())

if QtCore.Qt.ControlModifier == modifier_keys and self.datacube is not None:
if (
QtCore.Qt.ControlModifier == modifier_keys
and self.datacube is not None
and self.isActiveWindow()
):
global_pos = QCursor.pos()

for scene, data in [
Expand Down

0 comments on commit 1d48384

Please sign in to comment.