mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
RFT file improvements
* Guard null pointer access * Delay open of RFT files until data is requested When opening ensemble summary cases, the opening of RFT files can take some time. Avoid this by delaying the file open operation. * Fix infinite update loop for RFT plots * Avoid moving the tracker line when clicking in the plot
This commit is contained in:
1 parent
daa8d7305b
commit
46b364d0b0
5 files changed
+71
-29
No files matched your search
@@ -1210,7 +1210,7 @@ void RiaGuiApplication::onProjectBeingOpened()
|
||||
// When importing a project, do not maximize the first MDI window to be created
|
||||
m_maximizeWindowGuard = std::make_unique<RiuMdiMaximizeWindowGuard>();
|
||||
|
||||
m_mainWindow->setBlockSubWindowActivatedSignal( true );
|
||||
if ( m_mainWindow ) m_mainWindow->setBlockSubWindowActivatedSignal( true );
|
||||
if ( mainPlotWindow() ) mainPlotWindow()->setBlockSubWindowActivatedSignal( true );
|
||||
}
|
||||
|
||||
@@ -1272,7 +1272,7 @@ void RiaGuiApplication::onProjectOpened()
|
||||
|
||||
processEvents();
|
||||
|
||||
m_mainWindow->setBlockSubWindowActivatedSignal( false );
|
||||
if ( m_mainWindow ) m_mainWindow->setBlockSubWindowActivatedSignal( false );
|
||||
if ( mainPlotWindow() ) mainPlotWindow()->setBlockSubWindowActivatedSignal( false );
|
||||
|
||||
// Make sure to process events before this function to avoid strange Qt crash
|
||||
|
||||
Reference in new issue
Block a user