Fix room switch so that if there is no saved text the user ends up with an empty chatbar
This commit is contained in:
@@ -399,12 +399,7 @@ void ModelTest::testCompletionModel()
|
||||
tester->setUseFetchMore(true);
|
||||
model->setRoom(room);
|
||||
model->setAutoCompletionType(CompletionModel::Room);
|
||||
<<<<<<< HEAD
|
||||
model->setText(u"foo"_s, u"#foo"_s);
|
||||
auto roomListModel = new RoomListModel(this);
|
||||
=======
|
||||
auto roomListModel = new RoomListModel();
|
||||
>>>>>>> da60b8068 (Fix merge issues)
|
||||
roomListModel->setConnection(connection);
|
||||
model->setRoomListModel(roomListModel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user