mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
Tiny refactor
This commit is contained in:
parent
1f2e9babe6
commit
535d87c9c4
@ -147,7 +147,7 @@ RiuPlotMainWindow* RiuPlotMainWindow::instance()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuPlotMainWindow::wellSelected( QString wellName )
|
||||
void RiuPlotMainWindow::onWellSelected( QString wellName )
|
||||
{
|
||||
RiuPlotMainWindow* plotWnd = instance();
|
||||
if ( !plotWnd ) return;
|
||||
|
@ -60,7 +60,7 @@ public:
|
||||
~RiuPlotMainWindow() override;
|
||||
|
||||
static RiuPlotMainWindow* instance();
|
||||
static void wellSelected( QString wellName );
|
||||
static void onWellSelected( QString wellName );
|
||||
|
||||
QString mainWindowName() override;
|
||||
|
||||
|
@ -872,7 +872,7 @@ void RiuViewerCommands::handlePickAction( int winPosX, int winPosY, Qt::Keyboard
|
||||
{
|
||||
bool allowActiveViewChange = dynamic_cast<Rim2dIntersectionView*>( m_viewer->ownerViewWindow() ) == nullptr;
|
||||
|
||||
RiuPlotMainWindow::wellSelected( eclipseWellSourceInfo->well()->name() );
|
||||
RiuPlotMainWindow::onWellSelected( eclipseWellSourceInfo->well()->name() );
|
||||
RiuMainWindow::instance()->selectAsCurrentItem( eclipseWellSourceInfo->well(), allowActiveViewChange );
|
||||
}
|
||||
else if ( wellConnectionSourceInfo )
|
||||
|
Loading…
Reference in New Issue
Block a user