Notifications:

Revert of substitution of boost::bind with std::bind, does not compile
on all platforms.
Further polishing and documentation.
This commit is contained in:
Vojtech Bubnik 2020-10-15 09:56:33 +02:00
parent d87ca6bdc1
commit b25548594d
3 changed files with 40 additions and 32 deletions

View file

@ -773,7 +773,7 @@ bool GUI_App::on_init_inner()
app_config->save();
if (this->plater_ != nullptr) {
if (*Semver::parse(SLIC3R_VERSION) < *Semver::parse(into_u8(evt.GetString()))) {
this->plater_->get_notification_manager()->push_notification(NotificationType::NewAppAviable, *(this->plater_->get_current_canvas3D()));
this->plater_->get_notification_manager()->push_notification(NotificationType::NewAppAvailable, *(this->plater_->get_current_canvas3D()));
}
}
});