mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 23:59:37 +02:00
Fix for bug 1254
In LabelDialog::Show(bool show), only set initial row when show == true.
This commit is contained in:
parent
dec93b3d16
commit
83830d52eb
@ -287,7 +287,7 @@ bool LabelDialog::Show(bool show)
|
||||
|
||||
// Set initial row
|
||||
// (This will not work until the grid is actually displayed)
|
||||
if (mInitialRow != -1) {
|
||||
if (show && mInitialRow != -1) {
|
||||
mGrid->SetGridCursor(mInitialRow, Col_Label);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user