mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Fix cancel button in add library dialog
This commit is contained in:
parent
a623dfb133
commit
768de98c2a
@ -28,7 +28,7 @@ void AddLibraryDialog::setupUI()
|
||||
connect(accept, &QAbstractButton::clicked, this, &AddLibraryDialog::add);
|
||||
|
||||
cancel = new QPushButton(tr("Cancel"));
|
||||
connect(cancel, &QPushButton::close, this, &AddLibraryDialog::close);
|
||||
connect(cancel, &QPushButton::clicked, this, &AddLibraryDialog::close);
|
||||
|
||||
find = new QPushButton(QIcon(":/images/find_folder.png"), "");
|
||||
connect(find, &QAbstractButton::clicked, this, &AddLibraryDialog::findPath);
|
||||
|
Loading…
Reference in New Issue
Block a user