mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add rpl interface to RadiobuttonGroup.
This commit is contained in:
@@ -503,7 +503,7 @@ QPointer<Ui::RpWidget> Business::createPinnedToBottom(
|
||||
std::move(buttonText),
|
||||
std::nullopt,
|
||||
[=, options = session->api().premium().subscriptionOptions()] {
|
||||
const auto value = _radioGroup->value();
|
||||
const auto value = _radioGroup->current();
|
||||
return (value < options.size() && value >= 0)
|
||||
? options[value].botUrl
|
||||
: QString();
|
||||
|
Reference in New Issue
Block a user