mirror of https://github.com/stella-emu/stella.git
fixed considering "show all files" at startup
fixed launcher focus issues after exiting ROMs
This commit is contained in:
parent
9a68e48421
commit
d5e7829bd2
|
@ -294,7 +294,7 @@ LauncherDialog::LauncherDialog(OSystem& osystem, DialogContainer& parent,
|
|||
if(myUseMinimalUI) // Highlight 'Rom Listing'
|
||||
mySelectedItem = 0;
|
||||
else
|
||||
mySelectedItem = 2;
|
||||
mySelectedItem = 3;
|
||||
|
||||
addToFocusList(wid);
|
||||
|
||||
|
@ -312,7 +312,7 @@ LauncherDialog::LauncherDialog(OSystem& osystem, DialogContainer& parent,
|
|||
|
||||
// Do we show only ROMs or all files?
|
||||
bool onlyROMs = instance().settings().getBool("launcherroms");
|
||||
|
||||
showOnlyROMs(onlyROMs);
|
||||
if(myAllFiles)
|
||||
myAllFiles->setState(!onlyROMs);
|
||||
}
|
||||
|
|
|
@ -82,13 +82,8 @@ string StringListWidget::getToolTip(const Common::Point& pos) const
|
|||
bool StringListWidget::changedToolTip(const Common::Point& oldPos,
|
||||
const Common::Point& newPos) const
|
||||
{
|
||||
bool ch = getToolTipIndex(oldPos) != getToolTipIndex(newPos)
|
||||
return getToolTipIndex(oldPos) != getToolTipIndex(newPos)
|
||||
&& getToolTip(oldPos) != getToolTip(newPos);
|
||||
|
||||
if(ch)
|
||||
cerr << "changed" << endl;
|
||||
|
||||
return ch;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue