mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Add some info text that wildcards * can be used on the end for search
This commit is contained in:
@@ -978,10 +978,14 @@ bool HorizonsDialog::handleResult(openspace::HorizonsFile::ResultCode& result) {
|
||||
|
||||
case openspace::HorizonsFile::ResultCode::ErrorNoObserver:
|
||||
appendLog(
|
||||
fmt::format("No match was found for observer '{}'. Use '@{}' as observer "
|
||||
"to list possible matches.", _observerName, _observerName),
|
||||
fmt::format("No match was found for observer '{}'", _observerName),
|
||||
HorizonsDialog::LogLevel::Error
|
||||
);
|
||||
appendLog(
|
||||
fmt::format("Try to use '@{}' as observer to search for possible "
|
||||
"matches.", _observerName),
|
||||
HorizonsDialog::LogLevel::Info
|
||||
);
|
||||
styleLabel(_centerLabel, true);
|
||||
break;
|
||||
|
||||
@@ -1087,6 +1091,11 @@ bool HorizonsDialog::handleResult(openspace::HorizonsFile::ResultCode& result) {
|
||||
fmt::format("No match was found for target '{}'", _targetName),
|
||||
HorizonsDialog::LogLevel::Error
|
||||
);
|
||||
appendLog(
|
||||
fmt::format("Try to use '{}*' as target to search for possible matches.",
|
||||
_targetName),
|
||||
HorizonsDialog::LogLevel::Info
|
||||
);
|
||||
styleLabel(_targetLabel, true);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user