This commit is contained in:
thrust26 2019-06-17 21:05:31 +02:00
parent 4ae491dd6c
commit b940aea542
1 changed files with 6 additions and 4 deletions

View File

@ -470,7 +470,7 @@ void UIDialog::handleCommand(CommandSender* sender, int cmd, int data, int id)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void UIDialog::handleRomViewer()
{
//string size = myRomViewerPopup->getSelectedName();
int size = myRomViewerPopup->getSelected();
bool enable = myRomViewerPopup->getSelectedName() != "Off";
VariantList items;
@ -485,10 +485,12 @@ void UIDialog::handleRomViewer()
{
VarList::push_back(items, "2x (1000x720)", "2");
}
myRomViewerPopup->addItems(items);
else if (size == 2)
{
myRomViewerPopup->setSelected(1);
}
// FIXME (remove when done) - Thomas, you can continue from here ...
//myRomViewerPopup->setSelected("1x(640x480) ");
myRomViewerPopup->addItems(items);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -