Skip to content

Commit f542d8f

Browse files
committed
Don't update editing area with content when in multisel mode
1 parent cb70420 commit f542d8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/editing_area.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,9 @@ void EditingArea::CopyFromSingular()
967967

968968
void EditingArea::UpdateToTextCtrl(CatalogItemPtr item, int flags)
969969
{
970+
if (!m_isSingleSelection)
971+
return; // don't update anything when per-item UI is hidden
972+
970973
if (!(flags & DontTouchText))
971974
{
972975
auto syntax = SyntaxHighlighter::ForItem(*item);

0 commit comments

Comments
 (0)