Changeset 698:19c20bbcd6a7 for src/mlx
- Timestamp:
- 10/25/15 06:24:33 (9 years ago)
- Branch:
- cef
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r692 r698 1861 1861 xscale = 1.0, yscale = 1.0) 1862 1862 1863 self._container = cef.getContainer() 1864 self._alignment.add(self._container) 1865 1863 1866 self.setMainWidget(self._alignment) 1867 1868 self._browser = None 1864 1869 1865 1870 self.addCancelFlightButton() … … 1874 1879 def activate(self): 1875 1880 """Activate the SimBrief flight plan page""" 1876 container = cef.getContainer() 1877 self._alignment.add(container) 1878 1879 self._browser = \ 1880 cef.startInContainer(container, 1881 "file://" + SimBriefSetupPage.getHTMLFilePath()) 1881 if self._browser is None: 1882 url = "file://" + SimBriefSetupPage.getHTMLFilePath() 1883 self._browser = cef.startInContainer(self._container, url) 1884 else: 1885 self._browser.Reload() 1882 1886 1883 1887 def _backClicked(self, button):
Note:
See TracChangeset
for help on using the changeset viewer.