mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 04:45:57 +08:00
Fixed spelling error get_standart_duration -> get_standard_duration
This commit is contained in:
parent
decdaa82d3
commit
f9e3e1d9fd
@ -1509,7 +1509,7 @@ void NotificationManager::push_notification(NotificationType type,
|
|||||||
std::function<bool(wxEvtHandler*)> callback,
|
std::function<bool(wxEvtHandler*)> callback,
|
||||||
int timestamp)
|
int timestamp)
|
||||||
{
|
{
|
||||||
int duration = get_standart_duration(level);
|
int duration = get_standard_duration(level);
|
||||||
push_notification_data({ type, level, duration, text, hypertext, callback }, timestamp);
|
push_notification_data({ type, level, duration, text, hypertext, callback }, timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -713,7 +713,7 @@ private:
|
|||||||
void sort_notifications();
|
void sort_notifications();
|
||||||
// If there is some error notification active, then the "Export G-code" notification after the slicing is finished is suppressed.
|
// 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();
|
bool has_slicing_error_notification();
|
||||||
size_t get_standart_duration(NotificationLevel level)
|
size_t get_standard_duration(NotificationLevel level)
|
||||||
{
|
{
|
||||||
switch (level) {
|
switch (level) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user