Fix for - Saving Dialog: Values are truncated

Info line was "lost" after big code refactoring 4cdcfe60

+ MsgDialog: Added missed include
This commit is contained in:
YuSanka 2022-01-12 12:54:54 +01:00
parent b4308f4245
commit cd159ef298
3 changed files with 3 additions and 2 deletions

View file

@ -927,7 +927,7 @@ void UnsavedChangesDialog::build(Preset::Type type, PresetCollection* dependent_
void UnsavedChangesDialog::show_info_line(Action action, std::string preset_name)
{
if (action == Action::Undef && !m_has_long_strings)
if (action == Action::Undef && !m_tree->has_long_strings())
m_info_line->Hide();
else {
wxString text;