1
0
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:
David Bailes 2015-10-31 10:39:50 +00:00
parent dec93b3d16
commit 83830d52eb

View File

@ -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);
}