2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Updated code to be consistent with lib_ui.

This commit is contained in:
23rd
2021-01-13 04:10:25 +03:00
committed by John Preston
parent 97e8c0956f
commit 1ccfcc824c
9 changed files with 23 additions and 11 deletions

View File

@@ -1138,7 +1138,7 @@ void FieldAutocomplete::Inner::contextMenuEvent(QContextMenuEvent *e) {
SendMenu::DefaultSilentCallback(send),
SendMenu::DefaultScheduleCallback(this, type, send));
if (!_menu->actions().empty()) {
if (!_menu->empty()) {
_menu->popup(QCursor::pos());
}
}