OSDN Git Service

MainFrm.cpp: Make it so that the parent window cannot be operated while the font...
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 25 Jan 2022 12:03:49 +0000 (21:03 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 25 Jan 2022 12:03:49 +0000 (21:03 +0900)
Docs/Users/ChangeLog.html
Docs/Users/ChangeLog.md
Docs/Users/ReleaseNotes.html
Docs/Users/ReleaseNotes.md
Src/MainFrm.cpp

index 43e8703..02981db 100644 (file)
@@ -26,6 +26,7 @@
 <ul>
 <li>[Feature Request] Lengthen title of File Compare window or add tip (#960)</li>
 <li>added me to contributor list (PR #1094)</li>
+<li>Made so that the parent window cannot be operated while the font selection dialog displayed from View→Select Font menu item is displayed.</li>
 </ul>
 <h3 id="file-compare">File compare</h3>
 <ul>
index 2615544..ca21944 100644 (file)
@@ -6,6 +6,8 @@
 
 - [Feature Request] Lengthen title of File Compare window or add tip (#960)
 - added me to contributor list (PR #1094)
+- Made so that the parent window cannot be operated while the font selection
+    dialog displayed from View→Select Font menu item is displayed.
 
 ### File compare
 
index f3e0fff..30b60c2 100644 (file)
@@ -36,6 +36,7 @@
 <ul>
 <li>[Feature Request] Lengthen title of File Compare window or add tip (#960)</li>
 <li>added me to contributor list (PR #1094)</li>
+<li>Made so that the parent window cannot be operated while the font selection dialog displayed from View→Select Font menu item is displayed.</li>
 </ul>
 <h3 id="file-compare">File compare</h3>
 <ul>
index 2d76b36..fb8887e 100644 (file)
@@ -20,6 +20,8 @@ Please submit bug reports to our <a href="http://github.com/WinMerge/winmerge/is
 
 - [Feature Request] Lengthen title of File Compare window or add tip (#960)
 - added me to contributor list (PR #1094)
+- Made so that the parent window cannot be operated while the font selection
+    dialog displayed from View→Select Font menu item is displayed.
 
 ### File compare
 
index 8ca8f5a..742ec70 100644 (file)
@@ -1406,6 +1406,7 @@ void CMainFrame::OnViewSelectfont()
                lf = &m_lfDiff;
 
        cf.lpLogFont = lf;
+       cf.hwndOwner = m_hWnd;
 
        if (ChooseFont(&cf))
        {