fix rotation on input dialog

This commit is contained in:
Adeeb Shihadeh
2021-03-02 17:14:32 -08:00
parent 491309b639
commit 4c84a33d01
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;