Skip to content

Commit 7508699

Browse files
committed
Hide palette paste when search is active
1 parent 75fe4e5 commit 7508699

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Source/Sidebar/Palettes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,7 @@ class Palettes final : public Component
762762
currentPaletteList.reset();
763763
} else {
764764
currentPaletteList = std::make_unique<PaletteList>(editor, paletteToShow);
765+
currentPaletteList->showPasteButton(paletteToShow.getType() != Identifier("Search"));
765766
viewport.setViewedComponent(currentPaletteList.get(), false);
766767
}
767768

0 commit comments

Comments
 (0)