Skip to content

Commit

Permalink
NXDRIVE-2732: [Direct Transfer] Prevent selection window to always st…
Browse files Browse the repository at this point in the history
…ay on top (#3008)
  • Loading branch information
rom1win committed Aug 13, 2021
1 parent 5945d46 commit 71639b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/changes/5.2.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Release date: `2021-xx-xx`

### Direct Transfer

- [NXDRIVE-2](https://jira.nuxeo.com/browse/NXDRIVE-2):
- [NXDRIVE-2732](https://jira.nuxeo.com/browse/NXDRIVE-2732): Prevent selection window to always stay on top

## GUI

Expand Down
5 changes: 3 additions & 2 deletions nxdrive/gui/folders_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_buttons(self) -> QDialogButtonBox.StandardButtons:


class DocumentsDialog(DialogMixin):
"""The dialog window for synced documents. Used bu the filters feature."""
"""The dialog window for synced documents. Used by the filters feature."""

# The windows's title
title_label = "FILTERS_WINDOW_TITLE"
Expand Down Expand Up @@ -215,7 +215,7 @@ def _select_unselect_all_roots(self, _: Qt.CheckState, /) -> None:


class FoldersDialog(DialogMixin):
"""The dialog window for folderish documents. Used bu the Direct Transfer feature."""
"""The dialog window for folderish documents. Used by the Direct Transfer feature."""

# The windows's title
title_label = "DIRECT_TRANSFER_WINDOW_TITLE"
Expand All @@ -237,6 +237,7 @@ def __init__(
"""*path* is None when the dialog window is opened from a click on the systray menu icon."""

super().__init__(application, engine)
self.setWindowFlags(self.windowFlags() & ~qt.WindowStaysOnTopHint)

self.path: Optional[Path] = None
self.paths: Dict[Path, int] = {}
Expand Down

0 comments on commit 71639b5

Please sign in to comment.