mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added ability to use EditLinkBox without SessionController.
This commit is contained in:
@@ -258,7 +258,8 @@ void ShareBox::prepareCommentField() {
|
||||
} else if (_descriptor.navigation) {
|
||||
field->setEditLinkCallback(
|
||||
DefaultEditLinkCallback(
|
||||
_descriptor.navigation->parentController(),
|
||||
std::make_shared<Window::Show>(_descriptor.navigation),
|
||||
_descriptor.session,
|
||||
field));
|
||||
}
|
||||
field->setSubmitSettings(Core::App().settings().sendSubmitWay());
|
||||
|
Reference in New Issue
Block a user