diff options
author | saturneric <[email protected]> | 2024-11-24 20:17:43 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-24 20:17:43 +0000 |
commit | b4e556d834a0c1e1cedbbda0a91cd892f9105d20 (patch) | |
tree | 6fe99ac300a8643daa7177b8f83820acb097f9aa /src/ui/main_window/MainWindow.cpp | |
parent | fix: solve key list drag and drop refreshing issue (diff) | |
download | GpgFrontend-b4e556d834a0c1e1cedbbda0a91cd892f9105d20.tar.gz GpgFrontend-b4e556d834a0c1e1cedbbda0a91cd892f9105d20.zip |
feat: allow drag and drop to open text file
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r-- | src/ui/main_window/MainWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp index 8e5e1d03..597697f4 100644 --- a/src/ui/main_window/MainWindow.cpp +++ b/src/ui/main_window/MainWindow.cpp @@ -39,6 +39,7 @@ #include "ui/struct/settings_object/KeyServerSO.h" #include "ui/widgets/KeyList.h" #include "ui/widgets/TextEdit.h" +#include "ui/widgets/TextEditTabWidget.h" namespace GpgFrontend::UI { @@ -97,7 +98,7 @@ void MainWindow::Init() noexcept { UISignalStation::GetInstance(), &UISignalStation::SignalKeyDatabaseRefresh); - connect(edit_->tab_widget_, &QTabWidget::currentChanged, this, + connect(edit_->tab_widget_, &TextEditTabWidget::currentChanged, this, &MainWindow::slot_disable_tab_actions); connect(UISignalStation::GetInstance(), &UISignalStation::SignalRefreshStatusBar, this, |