CTRL+T opens new split in current page
This commit is contained in:
@@ -49,6 +49,18 @@ NotebookTab *NotebookPage::getTab() const
|
||||
return _tab;
|
||||
}
|
||||
|
||||
void
|
||||
NotebookPage::addChat(bool openChannelNameDialog)
|
||||
{
|
||||
ChatWidget *w = new ChatWidget();
|
||||
|
||||
if (openChannelNameDialog) {
|
||||
w->showChangeChannelPopup();
|
||||
}
|
||||
|
||||
addToLayout(w, std::pair<int, int>(-1, -1));
|
||||
}
|
||||
|
||||
std::pair<int, int> NotebookPage::removeFromLayout(ChatWidget *widget)
|
||||
{
|
||||
// remove from chatWidgets vector
|
||||
|
||||
Reference in New Issue
Block a user