Qt: Fix add button not releasing

This commit is contained in:
chargeflux
2019-04-22 19:44:00 -04:00
parent e575fa92d7
commit cd5f42cee0
4 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ void GCMemcardManager::ConnectWidgets()
{
connect(m_slot_file_edit[slot], &QLineEdit::textChanged, this,
[this, slot](const QString& path) { SetSlotFile(slot, path); });
connect(m_slot_file_button[slot], &QPushButton::pressed, this,
connect(m_slot_file_button[slot], &QPushButton::clicked, this,
[this, slot] { SetSlotFileInteractive(slot); });
connect(m_slot_table[slot], &QTableWidget::itemSelectionChanged, this,
&GCMemcardManager::UpdateActions);