mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Block changes to selection during resize and tiling
This commit is contained in:
@@ -42,6 +42,7 @@ RiuMainWindowBase::RiuMainWindowBase()
|
||||
: m_projectTreeView(nullptr)
|
||||
, m_allowActiveViewChangeFromSelection(true)
|
||||
, m_showFirstVisibleWindowMaximized(true)
|
||||
, m_blockSlotSubWindowActivated(false)
|
||||
{
|
||||
setDockNestingEnabled(true);
|
||||
}
|
||||
@@ -146,6 +147,22 @@ void RiuMainWindowBase::enableShowFirstVisibleMdiWindowMaximized(bool enable)
|
||||
m_showFirstVisibleWindowMaximized = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainWindowBase::setBlockSlotSubWindowActivated(bool block)
|
||||
{
|
||||
m_blockSlotSubWindowActivated = block;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiuMainWindowBase::blockSlotSubWindowActivated() const
|
||||
{
|
||||
return m_blockSlotSubWindowActivated;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user