SHA256
1
0
forked from pool/audacity
audacity/audacity-1.3.7-modal-help-dialog.patch

15 lines
408 B
Diff

--- src/widgets/ErrorDialog.cpp
+++ src/widgets/ErrorDialog.cpp
@@ -122,0 +123,8 @@
+// make help dialog modal
+class HtmlTextHelpDialog : public BrowserFrame
+{
+public:
+ HtmlTextHelpDialog() : BrowserFrame() { MakeModal(true); }
+ ~HtmlTextHelpDialog() { MakeModal(false); }
+};
+
@@ -127 +135 @@
- BrowserFrame * pWnd = new BrowserFrame();
+ HtmlTextHelpDialog * pWnd = new HtmlTextHelpDialog();