mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
todo.cpp
: Virtual keyboard fixes
This commit is contained in:
parent
4dc4e7a51a
commit
d8f05b9b9b
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ void todo::on_closeBtn_clicked()
|
|||
void todo::on_newBtn_clicked()
|
||||
{
|
||||
global::keyboard::embed = false;
|
||||
global::keyboard::keyboardText = "";
|
||||
virtualkeyboard * virtualKeyboardWidget = new virtualkeyboard(this);
|
||||
virtualKeyboardWidget->setAttribute(Qt::WA_DeleteOnClose);
|
||||
QObject::connect(virtualKeyboardWidget, &virtualkeyboard::enterBtnPressed, this, &todo::createNewList);
|
||||
|
@ -253,6 +254,7 @@ void todo::on_deleteBtn_clicked()
|
|||
void todo::on_newItemBtn_clicked()
|
||||
{
|
||||
global::keyboard::embed = false;
|
||||
global::keyboard::keyboardText = "";
|
||||
virtualkeyboard * virtualKeyboardWidget = new virtualkeyboard(this);
|
||||
virtualKeyboardWidget->setAttribute(Qt::WA_DeleteOnClose);
|
||||
QObject::connect(virtualKeyboardWidget, &virtualkeyboard::enterBtnPressed, this, &todo::addItem);
|
||||
|
|
Loading…
Reference in a new issue