diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index 40f5c31169..a984b6ba75 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -1509,7 +1509,7 @@ void NotificationManager::push_notification(NotificationType type, std::function callback, int timestamp) { - int duration = get_standart_duration(level); + int duration = get_standard_duration(level); push_notification_data({ type, level, duration, text, hypertext, callback }, timestamp); } diff --git a/src/slic3r/GUI/NotificationManager.hpp b/src/slic3r/GUI/NotificationManager.hpp index 2031586b8d..9adcc240d0 100644 --- a/src/slic3r/GUI/NotificationManager.hpp +++ b/src/slic3r/GUI/NotificationManager.hpp @@ -713,7 +713,7 @@ private: void sort_notifications(); // If there is some error notification active, then the "Export G-code" notification after the slicing is finished is suppressed. bool has_slicing_error_notification(); - size_t get_standart_duration(NotificationLevel level) + size_t get_standard_duration(NotificationLevel level) { switch (level) {