Change editing so that going up or down from a code or quote a para will be added if one doesn't exist so that the block can te typed around
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "chatkeyhelper.h"
|
||||
|
||||
#include "chatbarcache.h"
|
||||
#include "chattextitemhelper.h"
|
||||
#include "clipboard.h"
|
||||
#include "neochatroom.h"
|
||||
@@ -58,11 +59,6 @@ bool ChatKeyHelper::up(Qt::KeyboardModifiers modifiers)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (textItem->isEmpty()) {
|
||||
room->editLastMessage();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (textItem->isCompleting) {
|
||||
Q_EMIT unhandledUp(true);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user