diff options
| author | Mason Reed <mason@vector35.com> | 2025-11-07 19:14:32 -0500 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-11-16 19:58:19 -0500 |
| commit | 987d8bca5173ea13c8f96837997b746c5e478979 (patch) | |
| tree | 0f8db4169e8ab86477c2adac8acfaf80c80479d3 /plugins/warp/ui/containers.h | |
| parent | 51d50c76dcd654b7b0ec187593e31f9c38757823 (diff) | |
[WARP] Fix container list not refreshing for dynamically added containers
When running the command "WARP\\Load File" it will create a new container and add it to the global container list, we need to show this in the UI
Diffstat (limited to 'plugins/warp/ui/containers.h')
| -rw-r--r-- | plugins/warp/ui/containers.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/warp/ui/containers.h b/plugins/warp/ui/containers.h index d5e82242..b95c32db 100644 --- a/plugins/warp/ui/containers.h +++ b/plugins/warp/ui/containers.h @@ -149,7 +149,7 @@ private: { // Retrieve all available containers const auto all = Warp::Container::All(); - m_containers = all; // copy vector<Ref<Container>> + m_containers = all; for (const auto& c : m_containers) { @@ -159,10 +159,6 @@ private: auto* widget = new WarpContainerWidget(c, m_stack); m_stack->addWidget(widget); } - - // Visual style: behave like a vertical tab bar - // m_list->setFrameShape(QFrame::NoFrame); - // m_list->setSpacing(0); } static int itemHeightPx() |
