Fix unnecessary clears of split input selection (#4197)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user