aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/FileTreeView.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-24 04:50:42 +0000
committersaturneric <[email protected]>2024-01-24 04:50:42 +0000
commit9fa19d9dae8153ae360e666887fbd079620c5022 (patch)
tree5d1d3cabd54b1fadb0e7dec75b25aa3e446aa8a0 /src/ui/widgets/FileTreeView.cpp
parentfeat: improve key list and find widget (diff)
downloadGpgFrontend-9fa19d9dae8153ae360e666887fbd079620c5022.tar.gz
GpgFrontend-9fa19d9dae8153ae360e666887fbd079620c5022.zip
fix: solve an issue that switch tab but crypto menu won't update
Diffstat (limited to 'src/ui/widgets/FileTreeView.cpp')
-rw-r--r--src/ui/widgets/FileTreeView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/widgets/FileTreeView.cpp b/src/ui/widgets/FileTreeView.cpp
index 450acbad..0350bb09 100644
--- a/src/ui/widgets/FileTreeView.cpp
+++ b/src/ui/widgets/FileTreeView.cpp
@@ -394,4 +394,8 @@ void FileTreeView::paintEvent(QPaintEvent* event) {
this->resizeColumnToContents(i);
}
}
+
+void FileTreeView::mousePressEvent(QMouseEvent* event) {
+ QTreeView::mousePressEvent(event);
+}
} // namespace GpgFrontend::UI