mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-08 16:59:59 +01:00
Unified Information string on Group Source
This commit is contained in:
@@ -541,7 +541,7 @@ void Mixer::deleteSource(Source *s)
|
||||
session_->deleteSource(s);
|
||||
|
||||
// log
|
||||
Log::Notify("Source %s deleted.", name.c_str());
|
||||
Log::Notify("Source '%s' deleted.", name.c_str());
|
||||
}
|
||||
|
||||
// cancel transition source in TRANSITION view
|
||||
|
||||
@@ -401,7 +401,7 @@ glm::ivec2 SessionGroupSource::icon() const
|
||||
std::string SessionGroupSource::info() const
|
||||
{
|
||||
if (session_)
|
||||
return std::string("group of ") + std::to_string(session_->numSource()) + " sources";
|
||||
return std::string("group of ") + std::to_string(session_->numSource()) + " source" + (session_->numSource()>1 ? "s" : "");
|
||||
else
|
||||
return std::string("undefined group.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user