diff options
author | saturneric <[email protected]> | 2024-01-24 06:32:56 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-24 06:32:56 +0000 |
commit | 38c9d2ce81b2c4d33caa120d07fe9605525722bf (patch) | |
tree | b8624478413ea55341bc58612b7300a83d7fdc62 /src/ui/widgets/TextEdit.cpp | |
parent | fix: decrypt tar.gpg but output path is incorrect (diff) | |
download | GpgFrontend-38c9d2ce81b2c4d33caa120d07fe9605525722bf.tar.gz GpgFrontend-38c9d2ce81b2c4d33caa120d07fe9605525722bf.zip |
fix: improve file page
Diffstat (limited to 'src/ui/widgets/TextEdit.cpp')
-rw-r--r-- | src/ui/widgets/TextEdit.cpp | 5 |
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() { |