mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Merge pull request #1297 from isanae/master
Fix crash when clicking ... in path page
This commit is contained in:
@@ -925,7 +925,7 @@ PathsPage::PathsPage(CreateInstanceDialog& dlg) :
|
||||
};
|
||||
|
||||
auto setBrowse = [&](QAbstractButton* b, QLineEdit* e) {
|
||||
QObject::connect(b, &QAbstractButton::clicked, [&]{ browse(e); });
|
||||
QObject::connect(b, &QAbstractButton::clicked, [this, e]{ browse(e); });
|
||||
};
|
||||
|
||||
setEdit(ui->location);
|
||||
|
||||
Reference in New Issue
Block a user