Skip to content

Commit

Permalink
Set PluginViewport at Gribdialog init.
Browse files Browse the repository at this point in the history
  • Loading branch information
RooieDirk committed Jun 17, 2024
1 parent 0de0e61 commit 9935479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/grib_pi/src/GribUIDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ GRIBUICtrlBar::GRIBUICtrlBar(wxWindow *parent, wxWindowID id,
: GRIBUICtrlBarBase(parent, id, title, pos, size, style) {
pParent = parent;
pPlugIn = ppi;
m_vp = 0;
m_vp = &pPlugIn->GetCurrentViewPort() ;
pReq_Dialog = NULL;
m_bGRIBActiveFile = NULL;
m_pTimelineSet = NULL;
Expand Down

0 comments on commit 9935479

Please sign in to comment.