Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed Dec 11, 2023
1 parent 0003f5e commit 8634a99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/jx_layout_editor/code/LayoutDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ LayoutDocument::BuildWindow()

// must be done after creating widgets

itsToolBar->LoadPrefs();
itsToolBar->LoadPrefs(nullptr);
if (itsToolBar->IsEmpty())
{
itsToolBar->AppendButton(itsFileMenu, kNewCmd);
Expand Down
2 changes: 1 addition & 1 deletion tools/jx_memory_debugger/code/RecordDirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ RecordDirector::BuildWindow

// must be done after creating widgets

itsToolBar->LoadPrefs();
itsToolBar->LoadPrefs(nullptr);
if (itsToolBar->IsEmpty())
{
itsToolBar->AppendButton(itsFileMenu, kPrintCmd);
Expand Down
2 changes: 1 addition & 1 deletion tools/jx_memory_debugger/code/StatsDirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ StatsDirector::BuildWindow()

JPrefObject::ReadPrefs();

itsToolBar->LoadPrefs();
itsToolBar->LoadPrefs(nullptr);
if (itsToolBar->IsEmpty())
{
itsToolBar->AppendButton(itsFileMenu, kQuitCmd);
Expand Down

0 comments on commit 8634a99

Please sign in to comment.