diff options
| author | Felix Ernst <[email protected]> | 2024-10-14 14:44:47 +0200 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-10-15 10:35:10 +0000 |
| commit | ef4525e53568385053a638311f6ad751d42f2f4c (patch) | |
| tree | 99687ba09d55551ab3e6d6d88ff5447b7e574bd6 /src | |
| parent | 90e074dd1b51882bcc1afe19d51efec139f892a6 (diff) | |
Fix double-click view background feature
c934e803647674b4692668f047b6ffa18121982a was meant to change the
double-click view background feature to only allow double-clicks
with the left mouse button. However, it mistakenly did the exact
opposite and allowed every double-click except ones with the left
mouse button to trigger the feature. This one-liner fixes this.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 54cd3bf71..7d62f52ed 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2969,7 +2969,7 @@ bool DolphinMainWindow::isItemVisibleInAnyView(const QString &urlOfItem) void DolphinMainWindow::slotDoubleClickViewBackground(Qt::MouseButton button) { - if (button == Qt::MouseButton::LeftButton) { + if (button != Qt::MouseButton::LeftButton) { // only handle left mouse button for now return; } |
