Set Auto-Type sequence edit to read only when in history mode.

Not the other way aroud.
This commit is contained in:
Felix Geyer 2012-07-23 12:42:05 +02:00
parent cf15d1741f
commit 4a357e791e

View File

@ -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);