diff --git a/plugins/warp/ui/containers.h b/plugins/warp/ui/containers.h index d5e822424..b95c32dbc 100644 --- a/plugins/warp/ui/containers.h +++ b/plugins/warp/ui/containers.h @@ -149,7 +149,7 @@ class WarpContainersPane : public QWidget { // Retrieve all available containers const auto all = Warp::Container::All(); - m_containers = all; // copy vector> + m_containers = all; for (const auto& c : m_containers) { @@ -159,10 +159,6 @@ class WarpContainersPane : public QWidget 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() diff --git a/plugins/warp/ui/plugin.cpp b/plugins/warp/ui/plugin.cpp index 79b6c9ff1..66c80ba39 100644 --- a/plugins/warp/ui/plugin.cpp +++ b/plugins/warp/ui/plugin.cpp @@ -194,6 +194,7 @@ void WarpSidebarWidget::Update() { m_currentFunctionWidget->UpdateMatches(); m_matchedWidget->Update(); + m_containerWidget->refresh(); // TODO: Obviously this probably should not be called here. setMatcherActionIcon(false); }