Some improvements

This commit is contained in:
YuSanka 2019-03-07 16:36:39 +01:00
parent 99e43d6b24
commit b382ad1ffb
6 changed files with 43 additions and 24 deletions

View file

@ -506,7 +506,7 @@ Tab* GUI_App::get_tab(Preset::Type type)
{
for (Tab* tab: tabs_list)
if (tab->type() == type)
return tab;
return tab->complited() ? tab : nullptr; // To avoid actions with no-completed Tab
return nullptr;
}