Skip to content

Commit

Permalink
Fixes by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Oct 12, 2023
1 parent f83834f commit 333c642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ApplicationLibCode/Application/RiaGuiApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ void RiaGuiApplication::createMainWindow()
{
CVF_ASSERT( m_mainWindow == nullptr );

// Always enable undo/redo framework, as multi-select operations perform significantly better with it enabled
caf::CmdExecCommandManager::instance()->enableUndoCommandSystem( true );

m_mainWindow = new RiuMainWindow;
Expand All @@ -977,6 +978,7 @@ void RiaGuiApplication::createMainPlotWindow()
{
CVF_ASSERT( m_mainPlotWindow == nullptr );

// Always enable undo/redo framework, as multi-select operations perform significantly better with it enabled
caf::CmdExecCommandManager::instance()->enableUndoCommandSystem( true );

m_mainPlotWindow = std::make_unique<RiuPlotMainWindow>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ void RimSummaryCurveCollection::onChildrenUpdated( caf::PdmChildArrayFieldHandle
{
if ( auto curve = dynamic_cast<RimSummaryCurve*>( obj ) )
{

curve->updateCurveAppearance();
}
}
Expand Down

0 comments on commit 333c642

Please sign in to comment.