Update proxguiqt.cpp

This commit is contained in:
mwalker33 2020-04-12 20:59:18 +10:00
parent ce38dd92ba
commit 4177f51770

View file

@ -130,8 +130,6 @@ ProxGuiQT::~ProxGuiQT(void) {
} }
void ProxGuiQT::SetWindowsPosition (void) void ProxGuiQT::SetWindowsPosition (void)
{ {
if (!plotapp || !plotwidget)
return;
plotwidget->SetWindowsPosition (); plotwidget->SetWindowsPosition ();
} }
//-------------------- //--------------------
@ -269,8 +267,8 @@ void ProxWidget::SetWindowsPosition(void) {
if (session.preferences_loaded) { if (session.preferences_loaded) {
setGeometry (session.window_plot_xpos,session.window_plot_ypos,session.window_plot_wsize,session.window_plot_hsize); setGeometry (session.window_plot_xpos,session.window_plot_ypos,session.window_plot_wsize,session.window_plot_hsize);
controlWidget->setGeometry (session.window_overlay_xpos,session.window_overlay_ypos,session.window_overlay_wsize,session.window_overlay_hsize); controlWidget->setGeometry (session.window_overlay_xpos,session.window_overlay_ypos,session.window_overlay_wsize,session.window_overlay_hsize);
// update(); update();
// controlWidget->update(); controlWidget->update();
} }
} }