Skip to content

Commit

Permalink
only update window title if necessary (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
1r0b1n0 authored and wjwwood committed Jul 31, 2017
1 parent ce50378 commit 2753be1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rviz/visualization_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,10 @@ void VisualizationFrame::setDisplayConfigModified()
{
if( !loading_ )
{
setWindowModified( true );
if( !isWindowModified() )
{
setWindowModified( true );
}
}
}

Expand Down

0 comments on commit 2753be1

Please sign in to comment.