mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix menu icons in proxy settings.
This commit is contained in:
@@ -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({});
|
||||||
|
Reference in New Issue
Block a user