Modification of the AboutDialog to be correct showing on dark theme of Linux

This commit is contained in:
YuSanka 2018-05-16 13:56:03 +02:00
parent 6d98c2b1ce
commit b8fe48c563
2 changed files with 31 additions and 21 deletions

View file

@ -106,7 +106,7 @@ namespace Slic3r { namespace GUI {
}
double val;
str.ToCDouble(&val);
if (m_opt.min > val && val > m_opt.max)
if (m_opt.min > val || val > m_opt.max)
{
show_error(m_parent, _(L("Input value is out of range")));
if (m_opt.min > val) val = m_opt.min;