close on focus out
This commit is contained in:
parent
98130b33fe
commit
981ae1cdd6
@ -85,5 +85,10 @@ void PanelConfigView::syncGeometry()
|
||||
}
|
||||
}
|
||||
|
||||
void PanelConfigView::focusOutEvent(QFocusEvent *ev)
|
||||
{
|
||||
Q_UNUSED(ev)
|
||||
close();
|
||||
}
|
||||
|
||||
#include "moc_panelconfigview.cpp"
|
||||
|
@ -48,6 +48,9 @@ public:
|
||||
|
||||
void init();
|
||||
|
||||
protected:
|
||||
void focusOutEvent(QFocusEvent *ev);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void syncGeometry();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user