fix rotation on input dialog

old-commit-hash: 4c84a33d01d1d2b5e8c32d3f586dd14f3830bd5a
This commit is contained in:
Adeeb Shihadeh
2021-03-02 17:14:32 -08:00
parent 3ca728b1f4
commit 33022f854c
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -72,6 +72,10 @@ int InputDialog::exec() {
return QDialog::exec();
}
void InputDialog::show(){
setMainWindow(this);
}
void InputDialog::handleInput(QString s) {
if (!QString::compare(s,"")) {
line->backspace();
+1
View File
@@ -18,6 +18,7 @@ public:
QString text();
void setMessage(QString message, bool clearInputField=true);
void setMinLength(int length);
void show();
private:
int minLength;