mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-26 16:15:25 -07:00
Update proxguiqt.cpp
This commit is contained in:
parent
7fa8587dd2
commit
87e58442fb
1 changed files with 7 additions and 2 deletions
|
@ -130,6 +130,8 @@ ProxGuiQT::~ProxGuiQT(void) {
|
||||||
}
|
}
|
||||||
void ProxGuiQT::SetWindowsPosition (void)
|
void ProxGuiQT::SetWindowsPosition (void)
|
||||||
{
|
{
|
||||||
|
if (!plotapp || !plotwidget)
|
||||||
|
return;
|
||||||
plotwidget->SetWindowsPosition ();
|
plotwidget->SetWindowsPosition ();
|
||||||
}
|
}
|
||||||
//--------------------
|
//--------------------
|
||||||
|
@ -262,10 +264,13 @@ void ProxWidget::showEvent(QShowEvent *event) {
|
||||||
plot->show();
|
plot->show();
|
||||||
}
|
}
|
||||||
void ProxWidget::SetWindowsPosition(void) {
|
void ProxWidget::SetWindowsPosition(void) {
|
||||||
printf ("Settings windows Pos\n");
|
|
||||||
|
// plotwidget->update();
|
||||||
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();
|
||||||
|
controlWidget->update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue