Fix unnecessary clears of split input selection (#4197)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
kornes
2022-11-27 19:39:53 +00:00
committed by GitHub
parent a16342fd82
commit cc661d5f42
4 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ Split::Split(QWidget *parent)
this->updateInputPlaceholder();
this->view_->selectionChanged.connect([this]() {
if (view_->hasSelection())
if (this->input_->hasSelection())
{
this->input_->clearSelection();
}