Changeset - eb15da5a6fac
[Not reviewed]
plot-manager
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-08-30 09:40:24
hy@ozderya.net
fix segfault on close
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -170,7 +170,11 @@ void PlotManager::setupLayout(bool multi
 
    else
 
    {
 
        // delete scrollArea left from multi layout
 
        if (scrollArea != NULL) delete scrollArea;
 
        if (scrollArea != NULL)
 
        {
 
            delete scrollArea;
 
            scrollArea = NULL;
 
        }
 

	
 
        layout = new QVBoxLayout(_plotArea);
 
    }
0 comments (0 inline, 0 general)