mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- filebrowser: paintFoot() at every ChangeDir()
this fixes the empty footer when parentDir was empty
This commit is contained in:
@@ -405,8 +405,10 @@ void CFileBrowser::ChangeDir(const std::string & filename, int selection)
|
||||
selected = 0;
|
||||
if ((selection != -1) && (selection < (int)filelist.size()))
|
||||
selected = selection;
|
||||
|
||||
paintHead();
|
||||
paint();
|
||||
paintFoot();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
@@ -763,8 +765,6 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
selection = selected;
|
||||
|
||||
ChangeDir(name, selection);
|
||||
//paint();
|
||||
paintFoot();
|
||||
|
||||
int oldselected = selected;
|
||||
|
||||
@@ -910,7 +910,6 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
if(Filter != NULL)
|
||||
{
|
||||
use_filter = !use_filter;
|
||||
paintFoot();
|
||||
ChangeDir(Path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user