bug 2011 - dlg.Raise() only required for GTK
This commit is contained in:
parent
40065d84ed
commit
d26b17eea5
|
@ -350,7 +350,7 @@ bool LabelDialog::Show(bool show)
|
|||
{
|
||||
bool ret = wxDialogWrapper::Show(show);
|
||||
|
||||
mGrid->SetFocus(); // Required (at least on Linux).
|
||||
mGrid->SetFocus(); // Required for Linux and Mac.
|
||||
|
||||
// Set initial row
|
||||
// (This will not work until the grid is actually displayed)
|
||||
|
|
|
@ -3072,8 +3072,9 @@ void LabelTrack::DoEditLabels
|
|||
lt, index,
|
||||
viewInfo, rate,
|
||||
format, freqFormat);
|
||||
|
||||
dlg.Raise(); // Required on Linux: bug 2011
|
||||
#ifdef __WXGTK__
|
||||
dlg.Raise();
|
||||
#endif
|
||||
|
||||
if (dlg.ShowModal() == wxID_OK) {
|
||||
project.PushState(_("Edited labels"), _("Label"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user