From 4a357e791ea50ffe721248d7743d36414cb74df9 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Mon, 23 Jul 2012 12:42:05 +0200 Subject: [PATCH] Set Auto-Type sequence edit to read only when in history mode. Not the other way aroud. --- src/gui/entry/EditEntryWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp index 37ef018dd..48f2f4fc1 100644 --- a/src/gui/entry/EditEntryWidget.cpp +++ b/src/gui/entry/EditEntryWidget.cpp @@ -246,7 +246,7 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore) } m_advancedUi->attributesView->setEditTriggers(editTriggers); m_iconsWidget->setEnabled(!m_history); - m_autoTypeUi->sequenceEdit->setReadOnly(!m_history); + m_autoTypeUi->sequenceEdit->setReadOnly(m_history); m_autoTypeUi->windowTitleCombo->lineEdit()->setReadOnly(m_history); m_autoTypeUi->windowSequenceEdit->setReadOnly(m_history); m_historyWidget->setEnabled(!m_history);