Skip to content

Commit

Permalink
Clear children through their sizer rather than parent window.
Browse files Browse the repository at this point in the history
  • Loading branch information
krazkidd committed Aug 12, 2024
1 parent 9e1ef4a commit 0585072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/ExchangeScheduleDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace kdeck

void ExchangeScheduleDialog::UpdateStuff(Api* api)
{
gszrMaintenanceSchedule->Clear();
gszrMaintenanceSchedule->Clear(true);

try
{
Expand Down
2 changes: 1 addition & 1 deletion src/ui/PortfolioPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace kdeck

void PortfolioPanel::UpdateStuff(const Config* config, Api* api)
{
pnlPositions->DestroyChildren();
fgszrPositions->Clear(true);

if (api->IsLoggedIn())
{
Expand Down

0 comments on commit 0585072

Please sign in to comment.