+ remove SubWindow flag on OSX to put the expression input on top and get focus
This commit is contained in:
parent
aa5b388f4a
commit
c5246875b1
|
@ -66,7 +66,11 @@ DlgExpressionInput::DlgExpressionInput(const App::ObjectIdentifier & _path,
|
|||
DocumentObject * docObj = path.getDocumentObject();
|
||||
ui->expression->setDocumentObject(docObj);
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
setWindowFlags(Qt::Widget | Qt::Popup | Qt::FramelessWindowHint);
|
||||
#else
|
||||
setWindowFlags(Qt::SubWindow | Qt::Widget | Qt::Popup | Qt::FramelessWindowHint);
|
||||
#endif
|
||||
setAttribute(Qt::WA_NoSystemBackground, true);
|
||||
setAttribute(Qt::WA_TranslucentBackground, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user