mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Allow editing tag names in Saved Messages.
This commit is contained in:
@@ -1430,8 +1430,10 @@ void InnerWidget::mousePressEvent(QMouseEvent *e) {
|
||||
});
|
||||
} else if (_pressed) {
|
||||
auto row = _pressed;
|
||||
const auto updateCallback = [this, row] {
|
||||
if (!_pinnedShiftAnimation.animating()) {
|
||||
const auto weak = Ui::MakeWeak(this);
|
||||
const auto updateCallback = [weak, row] {
|
||||
const auto strong = weak.data();
|
||||
if (!strong || !strong->_pinnedShiftAnimation.animating()) {
|
||||
row->entry()->updateChatListEntry();
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user