Expander: don't allow selecting text while listing files
Selecting moves the cursor and results in file listing being inserted at the wrong place.
This commit is contained in:
parent
d0e9e3ca27
commit
affb3a4a62
@ -818,6 +818,7 @@ ExpanderWindow::StartListing()
|
||||
text.ReplaceFirst("%s", path.Leaf());
|
||||
fStatusView->SetStatus(text.String());
|
||||
fListingText->SetText("");
|
||||
fListingText->MakeSelectable(false);
|
||||
|
||||
fListingThread = new ExpanderThread(&message, new BMessenger(this));
|
||||
fListingThread->Start();
|
||||
@ -836,6 +837,7 @@ ExpanderWindow::StopListing(void)
|
||||
|
||||
fListingStarted = false;
|
||||
|
||||
fListingText->MakeSelectable(true);
|
||||
fShowContents->SetEnabled(true);
|
||||
fSourceItem->SetEnabled(true);
|
||||
fDestItem->SetEnabled(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user