fix CIDs 154872, 152491, 129453

This commit is contained in:
wmayer
2016-12-18 13:10:07 +01:00
parent 4db3591e68
commit 3dc611f3df
2 changed files with 1 additions and 2 deletions

View File

@@ -92,7 +92,6 @@ TaskWatcherCommands::TaskWatcherCommands(const char* Filter,const char* commands
(BitmapFactory().pixmap(pixmap), trUtf8(name), true, 0);
for (const char** i=commands;*i;i++) {
if(!i) break;
Command *c = mgr.getCommandByName(*i);
if (c) {
// handled in TaskBox::actionEvent()

View File

@@ -539,7 +539,7 @@ bool ViewProvider::onDelete(const vector< string >& subNames) {
bool del = true;
auto vector = getExtensionsDerivedFromType<Gui::ViewProviderExtension>();
for(Gui::ViewProviderExtension* ext : vector)
del = del || ext->extensionOnDelete(subNames);
del &= ext->extensionOnDelete(subNames);
return del;
}