aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyPairDetailTab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/keypair_details/KeyPairDetailTab.cpp')
-rw-r--r--src/ui/keypair_details/KeyPairDetailTab.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/keypair_details/KeyPairDetailTab.cpp b/src/ui/keypair_details/KeyPairDetailTab.cpp
index 3608ef63..34639cbb 100644
--- a/src/ui/keypair_details/KeyPairDetailTab.cpp
+++ b/src/ui/keypair_details/KeyPairDetailTab.cpp
@@ -335,14 +335,15 @@ void KeyPairDetailTab::createKeyServerOperaMenu() {
SLOT(slotUpdateKeyToServer()));
keyServerOperaMenu->addAction(uploadKeyPair);
- // TODO Solve Refresh Problem
- // keyServerOperaMenu->addAction(updateKeyPair);
+ keyServerOperaMenu->addAction(updateKeyPair);
}
void KeyPairDetailTab::slotUploadKeyToServer() {
auto keys = std::make_unique<KeyIdArgsList>();
keys->push_back(mKey.id());
auto* dialog = new KeyUploadDialog(keys, this);
+ dialog->show();
+ dialog->slotUpload();
}
void KeyPairDetailTab::slotUpdateKeyToServer() {