Skip to content

Commit

Permalink
Fix a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Sep 28, 2021
1 parent 73a92b5 commit 3264e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/interface_derived.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void MainFrame::SizeRootFolder(const string& folder){

//reset viewing area
for (int i = 1; i < currentDisplay.size(); i++){
currentDisplay[i]->Dealloc();
//currentDisplay[i]->Dealloc();
currentDisplay[i]->Destroy();
}
currentDisplay.erase(currentDisplay.begin()+1,currentDisplay.end());
Expand Down

0 comments on commit 3264e86

Please sign in to comment.