We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b77cc03 commit 4900d5aCopy full SHA for 4900d5a
src/DockAreaWidget.cpp
@@ -725,6 +725,10 @@ void CDockAreaWidget::setCurrentIndex(int index)
725
Q_EMIT currentChanging(index);
726
TabBar->setCurrentIndex(index);
727
d->ContentsLayout->setCurrentIndex(index);
728
+#ifdef USE_NATIVE_WIDGETS
729
+ // Force the widget to be native in order to avoid blinks with OpenGL widgets
730
+ d->ContentsLayout->currentWidget()->winId();
731
+#endif
732
d->ContentsLayout->currentWidget()->show();
733
// Force the repaint of the current widget because mix of OpenGL widgets
734
// and Raster widgets could have not been entirely rendered
0 commit comments