aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-18 16:53:29 +0000
committersaturneric <[email protected]>2024-11-18 16:53:55 +0000
commita5d7cc6aa2951b20064108fadd39eaae3b8472b2 (patch)
treecc93a20b8be1e1c8571bb8d9ea3c8eba379ed6a6 /src/ui/main_window/MainWindow.cpp
parentfeat: make primary key and subkey clearly (diff)
downloadGpgFrontend-a5d7cc6aa2951b20064108fadd39eaae3b8472b2.tar.gz
GpgFrontend-a5d7cc6aa2951b20064108fadd39eaae3b8472b2.zip
feat: add delete subkey function
Diffstat (limited to 'src/ui/main_window/MainWindow.cpp')
-rw-r--r--src/ui/main_window/MainWindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index fc320391..0c88412a 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -202,6 +202,8 @@ void MainWindow::recover_editor_unsaved_pages_from_cache() {
auto title = unsaved_page_json["title"].toString();
auto content = unsaved_page_json["content"].toString();
+ LOG_D() << "restoring tab, title: " << title;
+
if (first) {
edit_->SlotCloseTab();
first = false;