mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 16:45:12 +00:00
Updated code to be consistent with lib_ui.
This commit is contained in:
@@ -1841,7 +1841,7 @@ void InnerWidget::contextMenuEvent(QContextMenuEvent *e) {
|
||||
selectByMouse(globalPosition);
|
||||
}
|
||||
});
|
||||
if (_menu->actions().empty()) {
|
||||
if (_menu->empty()) {
|
||||
_menu = nullptr;
|
||||
} else {
|
||||
_menu->popup(e->globalPos());
|
||||
|
Reference in New Issue
Block a user