mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
fixed context menus, version 0.6.1
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "lang.h"
|
||||
|
||||
ContextMenu::ContextMenu(QWidget *parent, const style::iconedButton &st) : TWidget(parent),
|
||||
ContextMenu::ContextMenu(QWidget *parent, const style::iconedButton &st) : TWidget(0),
|
||||
_hiding(false), _buttonStyle(st), _shadow(st::dropdownShadow), _selected(-1), a_opacity(0), _deleteOnHide(false) {
|
||||
resetActions();
|
||||
|
||||
@@ -207,7 +207,6 @@ void ContextMenu::showStart() {
|
||||
a_opacity.start(1);
|
||||
anim::start(this);
|
||||
animStep(0);
|
||||
setParent(0);
|
||||
psUpdateOverlayed(this);
|
||||
show();
|
||||
windowHandle()->requestActivate();
|
||||
|
Reference in New Issue
Block a user