mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 09:07:41 +02:00
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);
|
bool ret = wxDialogWrapper::Show(show);
|
||||||
|
|
||||||
mGrid->SetFocus(); // Required (at least on Linux).
|
mGrid->SetFocus(); // Required for Linux and Mac.
|
||||||
|
|
||||||
// Set initial row
|
// Set initial row
|
||||||
// (This will not work until the grid is actually displayed)
|
// (This will not work until the grid is actually displayed)
|
||||||
|
@ -3072,8 +3072,9 @@ void LabelTrack::DoEditLabels
|
|||||||
lt, index,
|
lt, index,
|
||||||
viewInfo, rate,
|
viewInfo, rate,
|
||||||
format, freqFormat);
|
format, freqFormat);
|
||||||
|
#ifdef __WXGTK__
|
||||||
dlg.Raise(); // Required on Linux: bug 2011
|
dlg.Raise();
|
||||||
|
#endif
|
||||||
|
|
||||||
if (dlg.ShowModal() == wxID_OK) {
|
if (dlg.ShowModal() == wxID_OK) {
|
||||||
project.PushState(_("Edited labels"), _("Label"));
|
project.PushState(_("Edited labels"), _("Label"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user