mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 16:40:07 +02:00
In HistoryWindow::HistoryWindow():
// Vaughan, 2010-07-30: AudacityProject::OnHistory always calls Show() // then HistoryWindow::UpdateDisplay, so no need to do it here. // Vaughan, 2010-10-16: Not on Windows, anyway. // But Steve reported that on Ubuntu, View > History now crashes, // so restore it for non-Windows.
This commit is contained in:
parent
300d50a5d1
commit
1f48404e16
@ -115,9 +115,14 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
|
|||||||
S.EndVerticalLay();
|
S.EndVerticalLay();
|
||||||
// ----------------------- End of main section --------------
|
// ----------------------- End of main section --------------
|
||||||
|
|
||||||
// Vaughan, 2010-07-30: AudacityProject::OnHistory always calls Show() then
|
// Vaughan, 2010-07-30: AudacityProject::OnHistory always calls Show()
|
||||||
// HistoryWindow::UpdateDisplay, so no need to do it here.
|
// then HistoryWindow::UpdateDisplay, so no need to do it here.
|
||||||
// DoUpdate();
|
// Vaughan, 2010-10-16: Not on Windows, anyway.
|
||||||
|
// But Steve reported that on Ubuntu, View > History now crashes,
|
||||||
|
// so restore it for non-Windows.
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
DoUpdate();
|
||||||
|
#endif
|
||||||
mList->SetMinSize(mList->GetSize());
|
mList->SetMinSize(mList->GetSize());
|
||||||
Fit();
|
Fit();
|
||||||
SetMinSize(GetSize());
|
SetMinSize(GetSize());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user