summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-09-28 00:37:19 +0200
committerMaciej S. Szmigiero <mail@maciej.szmigiero.name>2019-09-28 00:52:41 +0200
commit3c97670a8847f56518095dde1f7b0a2b68cc8421 (patch)
tree37923cf661fe263ef4a0abdd64219c9a9f8603fe
parentb5861885a2df7022922a9e379ecd38dcc4494952 (diff)
Emit passShowHandlerFinished signal in MainWindow::passShowHandler()
Commit 3cb140ca697367 ("Trying to use QtPass as process handler and connector for Pass") removed a DisplayInTextBrowser() call from MainWindow::passShowHandler() and added a similar QtPass::showInTextBrowser() function that is invoked by QtPass::passShowHandlerFinished() slot. This slot is in turn connected to MainWindow::passShowHandlerFinished signal which wasn't emitted anywhere in the code. Emit it where the old DisplayInTextBrowser() call was so password entry non-template details are actually displayed upon selecting it in the main QtPass window.
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index cd21505f..1360b6be 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -406,6 +406,7 @@ void MainWindow::passShowHandler(const QString &p_output) {
clearPanelTimer.start();
}
+ emit passShowHandlerFinished(output);
setUiElementsEnabled(true);
}