mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix menu icons in proxy settings.
This commit is contained in:
parent
2c20e7bb02
commit
f70c2adbdd
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ void ProxyRow::showMenu() {
|
||||||
const QString &text,
|
const QString &text,
|
||||||
Fn<void()> callback,
|
Fn<void()> callback,
|
||||||
const style::icon *icon) {
|
const style::icon *icon) {
|
||||||
return _menu->addAction(text, std::move(callback));
|
return _menu->addAction(text, std::move(callback), icon);
|
||||||
};
|
};
|
||||||
addAction(tr::lng_proxy_menu_edit(tr::now), [=] {
|
addAction(tr::lng_proxy_menu_edit(tr::now), [=] {
|
||||||
_editClicks.fire({});
|
_editClicks.fire({});
|
||||||
|
|
Loading…
Add table
Reference in a new issue