[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e6ea0a5 4/4: Work around a 'wine' icon issue
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e6ea0a5 4/4: Work around a 'wine' icon issue |
Date: |
Fri, 9 Mar 2018 20:39:55 -0500 (EST) |
branch: master
commit e6ea0a528bf1a786285d76c0eeaf872e9946c7a7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Work around a 'wine' icon issue
See:
https://lists.nongnu.org/archive/html/lmi/2018-03/msg00041.html
---
mvc_controller.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mvc_controller.cpp b/mvc_controller.cpp
index 528f9b9..f330735 100644
--- a/mvc_controller.cpp
+++ b/mvc_controller.cpp
@@ -111,6 +111,10 @@ MvcController::MvcController
alarum() << "Unable to load dialog." << LMI_FLUSH;
}
+ // Work around a 'wine' issue--see:
+ // https://lists.nongnu.org/archive/html/lmi/2018-03/msg00041.html
+ SetIcons(TopWindow().GetIcons());
+
BookControl().ChangeSelection(last_selected_page[view_.ResourceFileName()]);
// This assignment must follow the call to LoadDialog().