aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/TextEdit.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-24 06:32:56 +0000
committersaturneric <[email protected]>2024-01-24 06:32:56 +0000
commit38c9d2ce81b2c4d33caa120d07fe9605525722bf (patch)
treeb8624478413ea55341bc58612b7300a83d7fdc62 /src/ui/widgets/TextEdit.cpp
parentfix: decrypt tar.gpg but output path is incorrect (diff)
downloadGpgFrontend-38c9d2ce81b2c4d33caa120d07fe9605525722bf.tar.gz
GpgFrontend-38c9d2ce81b2c4d33caa120d07fe9605525722bf.zip
fix: improve file page
Diffstat (limited to '')
-rw-r--r--src/ui/widgets/TextEdit.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/widgets/TextEdit.cpp b/src/ui/widgets/TextEdit.cpp
index 3a56b90d..1373c5d9 100644
--- a/src/ui/widgets/TextEdit.cpp
+++ b/src/ui/widgets/TextEdit.cpp
@@ -33,8 +33,8 @@
#include <vector>
#include "core/GpgModel.h"
-#include "core/function/CacheManager.h"
#include "core/function/GlobalSettingStation.h"
+#include "ui/UISignalStation.h"
#include "ui/struct/CacheObject.h"
namespace GpgFrontend::UI {
@@ -600,6 +600,9 @@ void TextEdit::slot_file_page_path_changed(const QString& path) const {
m_path = t_path;
}
tab_widget_->setTabText(index, m_path);
+
+ emit UISignalStation::GetInstance()->SignalMainWindowlUpdateBasicalOperaMenu(
+ 0);
}
void TextEdit::slot_save_status_to_cache_for_revovery() {