mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
fix rotation on input dialog
old-commit-hash: 4c84a33d01d1d2b5e8c32d3f586dd14f3830bd5a
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -18,6 +18,7 @@ public:
|
||||
QString text();
|
||||
void setMessage(QString message, bool clearInputField=true);
|
||||
void setMinLength(int length);
|
||||
void show();
|
||||
|
||||
private:
|
||||
int minLength;
|
||||
|
||||
Reference in New Issue
Block a user