summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0f838897..9134d3c6 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -767,6 +767,9 @@ void MainWindow::updateProfileBox() {
void MainWindow::on_profileBox_currentIndexChanged(QString name) {
if (m_qtPass->isFreshStart() || name == QtPassSettings::getProfile())
return;
+
+ ui->lineEdit->clear();
+
QtPassSettings::setProfile(name);
QtPassSettings::setPassStore(QtPassSettings::getProfiles()[name]);