2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Ask export path with other export options.

This commit is contained in:
John Preston
2018-06-22 20:46:20 +01:00
parent 10a0c6a086
commit ae18ece549
12 changed files with 310 additions and 184 deletions

View File

@@ -88,7 +88,7 @@ void InfoWidget::refreshUsername() {
TextWithEntities(),
copyText);
if (auto text = _username->entity()->textLabel()) {
text->setClickHandlerHook([](const ClickHandlerPtr &handler, Qt::MouseButton button) {
text->setClickHandlerFilter([](auto&&...) {
Ui::show(Box<UsernameBox>());
return false;
});
@@ -115,7 +115,7 @@ void InfoWidget::refreshBio() {
TextWithEntities(),
QString());
if (auto text = _bio->entity()->textLabel()) {
text->setClickHandlerHook([](const ClickHandlerPtr &handler, Qt::MouseButton button) {
text->setClickHandlerFilter([](auto&&...) {
Ui::show(Box<EditBioBox>(App::self()));
return false;
});