Commit 7e46c190 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] tool windows do not work properly on some specific window managers

parent ff9ce811
......@@ -57,6 +57,8 @@ WQtMessagePopup::WQtMessagePopup( QWidget* parent, const QString& title, const Q
{
setAutoClose( true );
setWindowRole( "MessagePopup" );
// these settings seem to be ignored somehow
setWindowModality( Qt::NonModal );
......
......@@ -402,7 +402,8 @@ void WQtNetworkItem::mouseDoubleClickEvent( QGraphicsSceneMouseEvent* /* event *
QScrollArea* sa = new QScrollArea( m_networkEditor );
sa->setWidget( props );
sa->setWidgetResizable( true );
sa->setWindowFlags( Qt::Tool );
sa->setWindowFlags( Qt::Window );
sa->setWindowRole( "Properties" );
sa->setWindowTitle( QString::fromStdString( "Properties: " + name ) );
sa->show();
m_propertyToolWindow = sa;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment