Commit bcd0cd05 authored by Łukasz Wojniłowicz's avatar Łukasz Wojniłowicz
Browse files

Check if CSV profile has been removed in UI before its deletion

BUG: 362139
REVIEW: 127722
parent 9b054dac
......@@ -643,7 +643,7 @@ void IntroPage::slotComboEditTextChanged(QString txt)
m_firstLineEdit = false;
connect(ui->combobox_source->lineEdit(), SIGNAL(editingFinished()), this, SLOT(slotLineEditingFinished()));
}
if ((txt.isEmpty()) && (!m_priorName.isEmpty()) && (m_messageBoxJustCancelled == false)) {
if ((txt.isEmpty()) && (!m_priorName.isEmpty()) && (m_messageBoxJustCancelled == false) && (ui->combobox_source->lineEdit()->text().isEmpty())) {
//
// The disconnects are to avoid another messagebox appearing before the response for this one is processed.
//
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment