mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
osd-setup: start browsing for fonts in same dir were active font is located
Origin commit data
------------------
Branch: ni/coolstream
Commit: e900d6610e
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-22 (Mon, 22 Jan 2018)
Origin message was:
------------------
- osd-setup: start browsing for fonts in same dir were active font is located
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -256,7 +256,7 @@ int COsdSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
CFileFilter fileFilter;
|
||||
fileFilter.addFilter("ttf");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(FONTDIR) == true)
|
||||
if (fileBrowser.exec(getPathName(g_settings.font_file).c_str()) == true)
|
||||
{
|
||||
g_settings.font_file = fileBrowser.getSelectedFile()->Name;
|
||||
printf("[neutrino] new font file %s\n", fileBrowser.getSelectedFile()->Name.c_str());
|
||||
@@ -272,7 +272,7 @@ int COsdSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
CFileFilter fileFilter;
|
||||
fileFilter.addFilter("ttf");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec(FONTDIR) == true)
|
||||
if (fileBrowser.exec(getPathName(g_settings.ttx_font_file).c_str()) == true)
|
||||
{
|
||||
g_settings.ttx_font_file = fileBrowser.getSelectedFile()->Name;
|
||||
ttx_font_file = fileBrowser.getSelectedFile()->Name;
|
||||
|
Reference in New Issue
Block a user