Fix crash in slash completer
This commit is contained in:
parent
485babba14
commit
3576589ea7
@ -445,7 +445,7 @@ TimelineViewManager::completerFor(const QString &completerName, const QString &r
|
||||
stickerModel->setParent(proxy);
|
||||
return proxy;
|
||||
} else if (completerName == QLatin1String("command")) {
|
||||
static auto commandCompleter = new CommandCompleter();
|
||||
auto commandCompleter = new CommandCompleter();
|
||||
auto proxy = new CompletionProxyModel(commandCompleter);
|
||||
commandCompleter->setParent(proxy);
|
||||
return proxy;
|
||||
|
Loading…
Reference in New Issue
Block a user