Skip to content

Commit

Permalink
Fix wrong entrylist toolbar size on opening archive
Browse files Browse the repository at this point in the history
  • Loading branch information
sirjuddington committed Apr 2, 2022
1 parent 3890df3 commit 14af60b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/MainEditor/UI/ArchiveManagerPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ void ArchiveManagerPanel::openTab(Archive* archive) const
wp->addMenus();
wp->Show(true);
maineditor::window()->Thaw();
wp->refreshPanel();
wp->SetFocus();
wp->focusEntryList();
}
Expand Down
1 change: 1 addition & 0 deletions src/MainEditor/UI/ArchivePanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3158,6 +3158,7 @@ void ArchivePanel::refreshPanel()

// Refresh entire panel
Freeze();
toolbar_elist_->updateLayout();
splitter_->GetWindow1()->Layout();
splitter_->GetWindow1()->Update();
splitter_->GetWindow1()->Refresh();
Expand Down

0 comments on commit 14af60b

Please sign in to comment.