/*
- * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void PopupWidget::showPopupComboBox(const QString &text, const QStringList &choices)
{
+ mp_ui->comboBox_choice->clear();
m_sendComboBoxChoice = true;
mp_ui->comboBox_choice->addItems(choices);
mp_ui->comboBox_choice->show();
{
if (m_sendComboBoxChoice)
{
- comboBoxResult(mp_ui->comboBox_choice->currentText());
+ emit comboBoxResult(mp_ui->comboBox_choice->currentText());
m_sendComboBoxChoice = false;
}
this->close();