diff --git a/src/mod/internal/interactive_target_mod.cpp b/src/mod/internal/interactive_target_mod.cpp index 52ab1ba070..12114c56a2 100644 --- a/src/mod/internal/interactive_target_mod.cpp +++ b/src/mod/internal/interactive_target_mod.cpp @@ -40,7 +40,10 @@ InteractiveTargetMod::InteractiveTargetMod( this->ask_device, this->ask_login, this->ask_password, theme, TR(trkeys::target_info_required, language(vars)), - TR(trkeys::device, language(vars)), vars.get().c_str(), + TR(trkeys::device, language(vars)), + vars.get().empty() + ? vars.get().c_str() + : vars.get().c_str(), TR(trkeys::login, language(vars)), vars.get().c_str(), TR(trkeys::password, language(vars)), font, &this->language_button) diff --git a/src/mod/internal/interactive_target_mod.hpp b/src/mod/internal/interactive_target_mod.hpp index ec793f77d5..9a45e744c7 100644 --- a/src/mod/internal/interactive_target_mod.hpp +++ b/src/mod/internal/interactive_target_mod.hpp @@ -31,7 +31,7 @@ using InteractiveTargetModVariables = vcfg::variables< vcfg::var, vcfg::var, - vcfg::var, + vcfg::var, vcfg::var, vcfg::var, vcfg::var,