feat: add command line argument to select/add tab with a channel (#5111)
This commit is contained in:
@@ -365,6 +365,12 @@ void WindowManager::initialize(Settings &settings, const Paths &paths)
|
||||
windowLayout = this->loadWindowLayoutFromFile();
|
||||
}
|
||||
|
||||
auto desired = getIApp()->getArgs().activateChannel;
|
||||
if (desired)
|
||||
{
|
||||
windowLayout.activateOrAddChannel(desired->provider, desired->name);
|
||||
}
|
||||
|
||||
this->emotePopupPos_ = windowLayout.emotePopupPos_;
|
||||
|
||||
this->applyWindowLayout(windowLayout);
|
||||
|
||||
Reference in New Issue
Block a user