Do not show dialog if there are no entries

This commit is contained in:
Sanel Zukan 2010-03-29 03:37:36 +00:00
parent 39b5181ad5
commit f978ef01f8

View File

@ -296,6 +296,9 @@ static void perform_autostart(bool safe) {
entry_list.push_back(en); entry_list.push_back(en);
} }
if(entry_list.empty())
return;
if(safe) if(safe)
run_autostart_dialog(entry_list); run_autostart_dialog(entry_list);
else else